Tcp + udp

Hello all,

I am a bit stuck when setting up a second or more server. The first server is running on port 30120 as normal. I told TCADMIN to add +10 to the port number if not available. Now when the server is created and it is running etc. It does not show up on the list. However the port is open. I check the console to see what is going on and it says

“net-tcp-server failed to create server: couldn’t listenCould not bind MultiplexTcpServer to 192.168.0.200:30130.”

And I have looked for an answer but cannot find it. I’ve tried to listen on port 30122 but still no luck. This is the last thing I need to set up the FiveM server hosting and it does not seem to be an easy fix. I feel like im doing something stupid.

On my router and firewall I have opened ports:

  1. 30120
  2. 30130
  3. 30140
  4. 30150
1 Like

You need to tell which port the second server should use in the server.cfg.

I.e:

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

Change the default 30120 to a non-used port.

I tried to tell it to use port 30130 and others but nothing

image

1 Like

Don’t change the 0.0.0.0, only change the port behind the semicolon…

i.e.
0.0.0.0:9999

So I should change “192.168.0.200” back to “0.0.0.0”

Correcto mundo. :slight_smile:

I still get that error but I’ll check if it shows up

Still no luck. The error is stopping the server showing up. now it is the same just "

net-tcp-server failed to create server: couldn’t listenCould not bind MultiplexTcpServer to 0.0.0.0:30130.
Could not bind on 0.0.0.0:30130 - is this address valid and not already in use?

Hmm strange, for some reason it can’t bind your IP… It’s not a “port already in use” issue as I though :thinking:

Listening on socket failed - libuv error address already in use.
net-tcp-server failed to create server: couldn’t listenCould not bind MultiplexTcpServer to 0.0.0.0:30130.
Could not bind on 0.0.0.0:30130 - is this address valid and not already in use?
Authenticating server license key…
Server license key authentication succeeded. Welcome!
Resolved live-internal.fivem.net:30110 to 163.172.164.221:30110
Sending heartbeat to live-internal.fivem.net:30110
Started resource fivem-map-skater
Started map fivem-map-skater
Sending heartbeat to live-internal.fivem.net:30110

1 Like

image

pretty obvious right there actually

also you wouldn’t get a ‘port is open’ message if the port weren’t actually in use.

try using netstat -antup | grep -i 30130 to see what is using that port

Why would you even use that ip in the first place? Seems like a local ip :thinking:

1 Like

if behind NAT you can’t really bind to an external address

1 Like

grep’ is not recognized as an internal or external command

I am at a loss on what to do :confused:

I opened the resource monitor, went into the Network tab. Expanded Listening Ports and there isn’t anything using 30130. Only thing listening on anything similar is the first working FXServer which is on the default 30120.

oh, it’s Windows?

netstat -ban | findstr /I 30130.

to add to the above, did you accidentally write endpoint_add_tcp twice in the config?

1 Like

The config was downloaded from the forum of TCADMIN. It has one TCP and one UDP