Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Connection refused to traci

I am currently trying to run traci in a container and get a connection error:

ConnectionRefusedError                    Traceback (most recent call last)
.../traci/__init__.py in connect(port, numRetries, host, proc)
67 try:
---> 68 return Connection(host, port, proc)
69 except socket.error as e:.../traci/connection.py in __init__(self, host, port, process)
53 self._socket.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
---> 54 self._socket.connect((host, port))
55 self._process = processConnectionRefusedError: [Errno 111] Connection refused
I really don't understand how this happens. What can be reasons for getting a refused connection?
Best regards and thanks for your help!
Valentin

Back to the top