Can't connect to localhost. "Connection lost to 127.0.0.1"

These are old archives. They are kept for historic purposes only.
Post Reply
starriol
Posts: 2
Joined: Mon Jul 16, 2012 1:38 pm

Can't connect to localhost. "Connection lost to 127.0.0.1"

Post by starriol »

Hi guys, I read the 2 faqs and searched for info here, couldn't find anything. Using Unreal 3.2.8.1.

I'm having the following error when trying to connect from the server itself:


13:34 -!- Irssi: Looking up 127.0.0.1
13:34 -!- Irssi: Connecting to 127.0.0.1 [127.0.0.1] port 6668
13:34 -!- Irssi: Connection to 127.0.0.1 established
13:34 -!- Irssi: Connection lost to 127.0.0.1

IRCD seems to be running:

:~# lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ircd 11831 root 1u IPv4 1256154 0t0 TCP *:6668 (LISTEN)

See the output for ps x:
11831 ? S 0:15 /home/ircd/Unreal3.2/src/ircd

BTW, I don't see anything written at the ircd.log nor service.log

This is the listen line at the .cfg file:
listen *:6668; // IRC Port; choose desired port (1 - 65000)

When trying to login using telnet, I see the following:

root@suprapowaz:/home/ircd/Unreal3.2# telnet localhost 6668
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
NICK Paul
USER ircd 8 * : Paul Mutton
Connection closed by foreign host.
root@suprapowaz:/home/ircd/Unreal3.2# telnet localhost 6668
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
sdfwe45645th
:Server.name 451 sdfwe45645th :You have not registered

Is that last error important?

Any help would be appreciated, first time setting up an IRC server.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Can't connect to localhost. "Connection lost to 127.0.0.

Post by katsklaw »

the "error" you are referring to isn't an error. it's a message from the ircd because you tried to do something out of order. Namely the improper syntax for the USER command.. Secondly, since you haven't given us any errors at all, we can't help figure out what is wrong .. if anything. You may want to upgrade to 3.2.9 though since there are massive changes between 3.2.8.1 and 3.2.9.
starriol
Posts: 2
Joined: Mon Jul 16, 2012 1:38 pm

Re: Can't connect to localhost. "Connection lost to 127.0.0.

Post by starriol »

Hi guys, I've downloaded a new configuration file and the server is working, there was probably something wrong with the one I used first, thanks for the time Kats!
Post Reply