how to debug this error when use file exchange TraCI4Matlab: Java exception occurred
Show older comments
Error using traci.Socket/connect (line 25)
Java exception occurred:
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
4 Comments
Walter Roberson
on 21 Sep 2016
The contribution appears to be at https://www.mathworks.com/matlabcentral/fileexchange/44805-traci4matlab
Walter Roberson
on 21 Sep 2016
Did you install and start SUMO on your system?
Juan Alfonso Serrano
on 2 Nov 2016
I have the same problem. I have installed SUMO 0.27.1. Does anyone has a solution?
Thanks.
samar shaikh
on 25 Nov 2018
i am facing the same problem do you find the solution regarding this?
thank you
Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!