I’ve bought a VPS for the hosting of my roleplay server. I’ve installed everything and literally copied the working files from my home pc.
Now the server works great, only the second server that runs at the same time keeps giving me the ‘listening on socket failed’. It says that only one ip/port combination can be used per running server.
I understand, only I host the second server on port 30121. I also tried port 30122, which gives the same error. I’ve opened the ports in the firewall (both TCP and UDP) and all ports are opened in the portforwarding automatically by the host.
What do i do?
All right, so I did what you asked and it now (while running server 2) says that it’s listening on 0.0.0.0:30121 & 0.0.0.0:30122
I find this odd, while I only run one instance of the FiveM server that should be listening on 30122…
The thing is that I let my 2nd server only listen on port 30122 which I’ve opened in the firewall (both UDP and TCP). So I’m not sure what listens on 30121
Okay, this is plain weird. I’ve started server 1, and it gives me this error:
Exception during executing Post callback: System.Net.Sockets.SocketException (0x
80004005): Only one usage of each socket address (protocol/network address/port)
is normally permitted.
but I can connect to the server ('s, i can connect to both) without an issue. Problem solved I guess?