

15:37, EET

February 13, 2025

Hello,
When I lunch OPC UA Simulation Server, I have the error: “ERROR: Failed to initialize server endpoint: opc.tcp://…..”.
I do not have another instance running on my laptop.
I checked the log file “simulationserver.log” : “Caused by: java.net.BindException: Address already in use: bind”
How should I fix the issue?
Best regards,
Valentin
10:05, EET

April 3, 2012

Hi,
Some other application could have taken the port.
If you are on Windows, please also see https://forum.prosysopc.com/forum/opc-ua-simulation-server/prosys-opc-ua-simulation-server-not-running-in-my-local-machine/#p7039 , copied below:
Hyper-V (and possibly some other software) does reserve some ports on Windows.
See https://stackoverflow.com/questions/54010365/how-to-see-what-is-reserving-ephemeral-port-ranges-on-windows see the first 2 answers (in the second one there is “netsh int ip show excludedportrange protocol=tcp”), that should hopefully be able first see that the port was reserved (explains the issue) and then adding it to the excludes causes it to not be reserved anymore (you probably need to restart after adding the port number to the excludes).
Most Users Ever Online: 1919
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 788
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1542
Posts: 6505
Newest Members:
Olpsom, shastaappleton, hildred39i, Adam, tammara49z, vktwaylon2, pilarstorkey83, Dwightsache, MollyAlori, somnath.kalaneModerators: Jouni Aro: 1029, Pyry: 1, Petri: 0, Bjarne Boström: 1040, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1