Set up Gmod server

I set up a server with SteamCMD it works I can join but when I do, I check the console and it says that on the top.

WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead

What do I do :frowning:

Do you host on the same computer you play on?

Yes I do I have no idea what’s wrong

Don’t. Steam uses the same port as your server.

Wait, so your saying I need to have Gmod installed on 2 computers to create a server?

No, you don’t need GMod installed to even host a server. Also, you can host on the same computer, but you’ll need to forward a range of ports.

I did it but it says the same thing when I go to the server after I open the start.bat

WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead

Put -port 27016 in your startup.bat.

Why doesn’t it work. It still doesn’t work

You forwarded to TCP on your router, right?

yes on my ip’s website

[editline]9th March 2014[/editline]

I forwarded 2700-27025

[editline]9th March 2014[/editline]

WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead
Network: IP -snip-, mode MP, dedicated No, ports 27016 SV / 27006 CL
Connecting to -snip-:27015…
Connected to -snip-.1.22:27015

And you have -port 27016 in your server’s launch parameters?

Yes

[editline]9th March 2014[/editline]

What’s wrong dude what did i do wrong :frowning:

[editline]9th March 2014[/editline]

Dude! Now theres only 2 errors
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead

Not the third one anymore!!

This would happen on our dedicated server if something else was already using that port

Imgur

Could this be the problem?

[editline]9th March 2014[/editline]

Imgur

server is probably going to be shit
no need to try and set it up

WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead

Those errors can basically be ignored. Its the “27015” that’s the port people connect to. The errors happen when another process is already using the ports, such as steam or another server.

Grab your IP address from http://whatismyipaddress.com/ , then grab the port you put in the startup parameters, such as 27016. Open garrysmod, open the console, type
connect <myip>:<theport>

Does it work?

Thanks for the feedback Hweng, I don’t care what you say, At least I have motivation to make a server fgt and Donkie I’m trying it right now :smiley:

[editline]10th March 2014[/editline]

Dude this IP address is way different than the one I port forwarded

[editline]10th March 2014[/editline]

I used my IPv4 address

You’ve forwarded a port to your local IP address, which is only visible to your local network. Your entire network has a single external IP address, which is what people will need to join. (Your local address will probably look like 192.168.x.x, 10.x.x.x or 172.16.x.x)

THANK YOU SO MUCH OMFG! I think this is gonna fix EVERYTHING

[editline]10th March 2014[/editline]

Server IP address must be a LAN IP address? That’s what it says when I change my port forwarding thing

[editline]10th March 2014[/editline]

And when I go on the server and check the info, It shows my local IP someone help :frowning: