Linux cannot open udp connection

Hi,

I am trying to create a server on linux but it can’t create udp connection.
i tried it on different udp ports but it doesn’t work, i already opened my all ports.


it keeps giving this message to me but netstat show otherwise;

it starts tcp connection but cannot start udp connection.
iptables dump :

[root@localhost ~]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination

btw, i can reach servers webadmin and info.json on http://ip:30120/webadmin/

dist : centos 6 x64

I’m not too confidant with Centos, but I’ll have a crack anyway. For starters I’d remove the wildcard in your firewall, that just asking for trouble. Secondly, are you adding them all to the public zone, and permanently? If not, try that. Also make sure you’re reloading the firewall after you make changes.

Your main issue is that you’ve improperly shut down a previous fivem process and trying to start a new version of the server is failing because of the zombie process having retained control of the port. Type fg to bring the zombie process to the foreground, kill it properly(CTRL+C) and then try starting FiveM again.

1 Like

there is no background or foreground process about that port.
port is open and works for other programs.

i tried with a reboot but same results all the time.