Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

Who's Online

andrewteale, waucott, jamesktaylor, michaeltrs, draenog, Jriver, Hap (7 users seen recently)

"WARNING - Cannot open TCP Port for hosting the simulation"

You are here: Home > Forum > Hosting and Events > Hosting General Topics > "WARNING - Cannot open TCP Port for hosting the simulation"

Page 1 of 1

"WARNING - Cannot open TCP Port for hosting the simulation" 23/11/2017 at 18:02 #103219
Ar88
Avatar
310 posts
What does this mean?

Just tried opening tonight's host to see if all works well, and I've just got this?

I didn't have this problem last night....I've also tried starting a new sim as a host, & also get the same message.

The Welsh contingent. Aron, or Ar to mates. Also known as 88E or ThatManCalledAr.
Log in to reply
"WARNING - Cannot open TCP Port for hosting the simulation" 23/11/2017 at 18:04 #103220
headshot119
Avatar
4869 posts
It means the simulation can’t open the port you’ve selected successfully.

Either you’ve got a simulation open on that port, or something else is using the port.

A reboot usually fixes it.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
The following user said thank you: Ar88
"WARNING - Cannot open TCP Port for hosting the simulation" 23/11/2017 at 18:14 #103221
Ar88
Avatar
310 posts
headshot119 in post 103220 said:
It means the simulation can’t open the port you’ve selected successfully.

Either you’ve got a simulation open on that port, or something else is using the port.

A reboot usually fixes it.
Nothing else open my-end on 50505 >.<

I rebooted, & that's cleared it for me. Thanks Karl!

The Welsh contingent. Aron, or Ar to mates. Also known as 88E or ThatManCalledAr.
Log in to reply
"WARNING - Cannot open TCP Port for hosting the simulation" 30/04/2019 at 22:31 #117973
Hap
Avatar
974 posts
Online
A system reboot or a router reboot? Just started getting this today for some randomless reason.

Reboot the system being the answer.

How to report an issue: www.SimSig.co.uk/Wiki/Show?page=usertrack:reportanissue
Last edited: 30/04/2019 at 22:38 by Hap
Reason: Answering own question.

Log in to reply
"WARNING - Cannot open TCP Port for hosting the simulation" 01/05/2019 at 00:02 #117978
GeoffM
Avatar
6274 posts
A reboot of the computer shouldn't be required, but is an easy way of ensuring other applications are closed. Rebooting router won't help.

Basically SimSig asks Windows "can I have port 50505 please" and Windows [computer] says "No". Usually it's because a program is already using it. I doubt in the above cases, but it could also be blocked by a firewall rule or antivirus.

SimSig Boss
Log in to reply
"WARNING - Cannot open TCP Port for hosting the simulation" 01/05/2019 at 06:37 #117982
Hap
Avatar
974 posts
Online
Cheers Geoff.

No idea what was going on, but nothing else was using the specific ports at the time. I had checked "netstat -a" through Command Prompt and resource monitor, and hadn't changed anything router related from the day before. Doesn't seem to be an issue today, all port ranges that I've set up in Port Forwarding for SimSig use are open when pinged. Think I'll blame Norton. It's always Nortons fault.

Craig.

How to report an issue: www.SimSig.co.uk/Wiki/Show?page=usertrack:reportanissue
Log in to reply
"WARNING - Cannot open TCP Port for hosting the simulation" 03/05/2019 at 02:35 #118035
Hawk777
Avatar
386 posts
Unless SO_REUSEADDR is set, this can also happen if some program was recently, but isn’t any more, listening on that port, and one of the connections to said prior program didn’t shut down cleanly. In that case the port will be locked up for some period of time to prevent in-flight or retransmitted packets intended for the old program from being confused with packets belonging to connections to the new program, I believe.
Log in to reply