Page 1 of 1

Connection refused

Posted: Wed Jan 14, 2009 4:32 am
by d0n7r33dd15
In unreadircd.conf i have the defult

Code: Select all

listen         *:8067;
listen         *:6667;
then when i ./unreal start it starts up fine but then when i run netstat -a i get

Code: Select all

Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 *:8067                  *:*                     LISTEN     
tcp        0      0 *:ircd                  *:*                     LISTEN 
then when i try to connect to the server via
/server <my ip> 6667 or /server <my ip> 8067 i get
Connection refused
but when i
/server 127.0.0.1 6667 or 127.0.0.1 8067
i connect and everything runs like it should.

How can i make it so that i can connect to it using my ip?

Re: Connection refused

Posted: Wed Jan 14, 2009 8:56 am
by Casper
You can't connect to the server, which is currently running on your own PC, using your own public IP. You'll have to use 127.0.0.1 (localhost). Others, outside your LAN, have to use the public IP (or a (free) host, resolving to your public IP address).

If you want others outside of your LAN connecting to your server, you'll need to open up the ports in your router, mentioned in the unrealircd.conf (->listenblock).