Connection refused

These are old archives. They are kept for historic purposes only.
Post Reply
d0n7r33dd15
Posts: 1
Joined: Wed Jan 14, 2009 4:24 am

Connection refused

Post 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?
Casper
Posts: 338
Joined: Sun Jul 08, 2007 7:44 am
Location: The Netherlands

Re: Connection refused

Post 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).
Ex Network-Administrator
Post Reply