Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Curl on Mar 31, 2019, 06:08 AM

Title: Ports not opening
Post by: Curl on Mar 31, 2019, 06:08 AM
Output on server start :
Vice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: libmain

Loaded plugin: announce04rel64

[WEAPONS] No custom weapons to load.
[VEHICLEMODELS] No custom vehicle models to load.
** Started VC:MP 0.4 Server **
 Port: 8192
 Max players: 100
checked if port open , but it says closed .
https://ping.eu/port-chk/

ports are opened when i use nodejs, netstat.

[curl@linux server]$ netstat -lntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 ::1:631                 :::*                    LISTEN
tcp6       0      0 :::3306                 :::*                    LISTEN
udp        0      0 0.0.0.0:47047           0.0.0.0:*
udp        0      0 0.0.0.0:8192            0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 224.0.0.251:5353        0.0.0.0:*
udp        0      0 224.0.0.251:5353        0.0.0.0:*



Title: Re: Ports not opening
Post by: dracc on Mar 31, 2019, 06:32 AM
Well, have you opened 8192 in your router and/or firewall?
VCMP doesn't support uPNP as far as I can tell - and in my opinion it shouldn't.
Title: Re: Ports not opening
Post by: Curl on Mar 31, 2019, 06:39 AM
I just checked https://ping.eu/port-chk/ is not udp checker, and from udp checker it shows port is open but i can't open my server from ip:8192 in vcmp browser
Title: Re: Ports not opening
Post by: DizzasTeR on Mar 31, 2019, 03:01 PM
You will need to open 8192 on TCP/UDP and make sure your server.exe is not being blocked by firewall, also on some routers the server is inaccessible to the local client with his assigned dynamic IP, however others can see it, you can use Thijn's VCPM Checker (http://thijn.minelord.com/vcmp/checker/) to see if its online on your public IP.
Title: Re: Ports not opening
Post by: Hendrix on Apr 02, 2019, 05:25 PM
Quote from: Curl on Mar 31, 2019, 06:08 AMOutput on server start :
Vice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: libmain

Loaded plugin: announce04rel64

[WEAPONS] No custom weapons to load.
[VEHICLEMODELS] No custom vehicle models to load.
** Started VC:MP 0.4 Server **
 Port: 8192
 Max players: 100
checked if port open , but it says closed .
https://ping.eu/port-chk/

ports are opened when i use nodejs, netstat.

[curl@linux server]$ netstat -lntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 ::1:631                 :::*                    LISTEN
tcp6       0      0 :::3306                 :::*                    LISTEN
udp        0      0 0.0.0.0:47047           0.0.0.0:*
udp        0      0 0.0.0.0:8192            0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 224.0.0.251:5353        0.0.0.0:*
udp        0      0 224.0.0.251:5353        0.0.0.0:*

what Linux distribution are you using?