Change port

These are old archives. They are kept for historic purposes only.
Post Reply
Guerilla

Change port

Post by Guerilla »

Hello,

i want to change the port of the server. At default it is 6667, but i want to change it to 1940, because the router doesn't forward the requests at all ports, only at the ports 1900-1950 and 27000-27500. Wich command do i have to use to change the port of the server?

Thank you very much!

Guerilla.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Port changes aren't done by commmands. They are done in the configuration (listen block). Once you changed the port in the listen block, the next step is to let the ircd close the port and open up the new one. This is done by reloading the configuration, however if there are any clients connected to your server throught port 6667, you cannot close it with only a /rehash, you have to either restart your server or disconnect those users before rehashing the configuration.
Post Reply