Hi Ainhoa, One thing you could also try is to select a slightly different port, e.g. 8123. Port 8000 is notoriously used for web-type applications. Though I'm sure sumo-gui will report if the port is already taken, but still.
Kind regards, Ruud On Thu, Jan 4, 2024 at 3:47 PM Mirko Barthauer via sumo-user < [email protected]> wrote: > Hi Ainhoa, > > > > I haven't used Artery myself so I am not sure about how exactly sumo is > called. But sumo has to be told how many TraCI clients it expects by > *--num-clients* if you want to connect more of them (see docs > <https://sumo.dlr.de/docs/TraCI.html#multiple_clients>). > > > > Best regards > > Mirko > > > > > > > > > > -----Original-Nachricht----- > > Betreff: [sumo-user] Connecting to SUMO server by Traci > > Datum: 2024-01-04T13:55:13+0100 > > Von: "Ainhoa Lizaso Eguileta via sumo-user" <[email protected]> > > An: "[email protected]" <[email protected]> > > > > > > > Hi! > > > I am trying to connect to the sumo server from an external python file by > using traci. I am using the simulator artery which incorporates sumo. I > have the option to define the sumo server to the port I want. In fact, > sumo-gui logs return ***Starting server on port 8000 *** with the port > selected. > > I am trying to connect to this port by traci from an external python > script but the response is: Could not connect to TraCI server at > localhost:8000 [Errno 111] Connection refused. > > I would like to know if it is possible to get the data created from sumo > by running the simulation from artery. > > Thank you! > > Ainhoa > > > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
