IP Forwarding

Hello,

Since few days i am busy to create server. This almost finished.

Now i wanted to make my server public, but its don’t show up and people cannot direct connect with ip.

I put the ports 30120 and 30110 open in my router and also i disable my firewalls on my PC. So must be work… unfortutenly not.

When i netstat -an | findstr “30120” do on CMD this comes back:

TCP 192.168.0.180:30120 0.0.0.0:0 LISTENING
UDP 192.168.0.180:30120 :

I hope some one can help me.

Bernt

When i start FiveM Server i see this: Could not bind on 193.0.217.93:30120 - is this address valid and not already in use?

Its my real IP Adress and have only 1 client running.

What does your server.cfg look like? If you’re having trouble binding to the port, a service is already listening on it.

Thank you for your answer!

When i put my internal IP this error: is this address valid and not already in use? i dont see. But still people cannot connect.

Server.cfg:

you probably don’t want to change these!

only change them if you’re using a server with multiple network interfaces

endpoint_add_tcp “193.0.217.93:30120”
endpoint_add_udp “193.0.217.93:30120”

set mysql_connection_string “server=127.0.0.1;database=gta5_cop;userid=Bernt;password=***;sslmode=none”

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start MB
start MB2
Start ELS-FiveM
Start RPRevive
Start p99
Start agent
Start mysql-async
Start police
Start deleteveh
Start NeverWanted

Starting Essentialmode

start essentialmode
start es_admin2

sv_scriptHookAllowed 1

change this

#rcon_password yay

a comma-separated list of tags for your server

for example: sets tags “drifting, cars, racing” or sets tags “roleplay, military, tanks”

sets tags “default”

set an optional server info and connecting banner image url.

size doesn’t matter, any banner sized image will be fine.

#sets banner_detail “http://url.to/image.png
#sets banner_connecting “http://url.to/image.png

sv_hostname “112Vandaag”

nested configs!

#exec server_internal.cfg

loading a server icon (96x96 PNG file)

#load_server_icon myLogo.png

convars for use from script

set temp_convar “hey world!”

disable announcing? clear out the master by uncommenting this (your server will not be listed in the serverlist if you uncomment this!)

#sv_master1 “”

want to only allow players authenticated with a third-party provider like Steam (don’t forget, Social Club is a third party probvider too!)?

#sv_authMaxVariance 1
#sv_authMinTrust 5

add system admins

add_ace resource.essentialmode command.add_principal allow
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don’t allow quit
add_principal identifier.steam:1100001006a4aef group.admin # add the admin to the group

remove the # to hide player endpoints in external log output

sv_endpointprivacy true

server slots limit (must be between 1 and 31)

sv_maxclients 30

license key for server (https://keymaster.fivem.net)

sv_licenseKey d***

Now i just start server with my orignal IP what still give error.
Now CMD nothing show on: netstat -an | findstr “30120”

And if i do 0.0.0.0 this comes:

TCP 0.0.0.0:30120 0.0.0.0:0 LISTENING
UDP 0.0.0.0:30120 :

That should be 0.0.0.0:30120 which makes it listen on those ports for any IP address. Can you confirm the ports are open?
https://portchecker.co/canyouseeme

Unfortunately Port 30120 is closed…

Router says ipadress: 172.16.245.215
Portchecker: 193.0.217.93

image of router settings: https://i.imgur.com/B5fweJ6.png

I am scared that ISP not allowed…

172.16 I believe is a private range.

Thanks, so 193.0.217.93 it is. but dont work…

did you fix the end points so there 0.0.0.0? because that will indeed stop it from working if you use the actual ip like that.

Don’t understand. I must not change this 0.0.0.0?

Problem found… Was need to make a extern IP by my ISP.

Everything works! Thank you all.

how tell me pal plzzz