Garry's Mod

Garry's Mod

View Stats:
Hippy Hippo Nov 25, 2017 @ 2:43pm
How do you change default port when creating a gmod server?
I need to change my port from the default port to a different port. Is there any way to change it?
< >
Showing 1-8 of 8 comments
꧁Jay꧂ Nov 25, 2017 @ 3:03pm 
-port PORTHERE
Hippy Hippo Nov 25, 2017 @ 5:40pm 
where do I put that?
TrashCataclysm Nov 25, 2017 @ 6:17pm 
If the server is dedicated then you add it to the .bat file you use to run it. If you don't have a .bat file I recommend you search how to make one.
Last edited by TrashCataclysm; Nov 25, 2017 @ 6:37pm
Hippy Hippo Nov 25, 2017 @ 7:03pm 
Originally posted by ={M E M E - T R A S H}=:
If the server is dedicated then you add it to the .bat file you use to run it. If you don't have a .bat file I recommend you search how to make one.
next question, where in the .bat file should i put it
TrashCataclysm Nov 25, 2017 @ 7:49pm 
Place it in the same line you have the other server startup parameters (things like -game, +map +maxplayers)
Originally posted by Piddledip:
-port PORTHERE



So... is this possible? still works in 2021? XD
TrashCataclysm Feb 6, 2021 @ 6:51pm 
I can't see any reason why it wouldn't work.
Originally posted by ={M E M E - T R A S H}=:
I can't see any reason why it wouldn't work.

maybe some methods have changed over time... whatever, thanks a lot for the answer and help.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Nov 25, 2017 @ 2:43pm
Posts: 8