IRC problems on Amazon Web Service

"Please leave a message at the beep, we will get back to you when your support contract expires."

Moderators: phlip, Larson, Moderators General, Prelates

IRC problems on Amazon Web Service

Postby Robert'); DROP TABLE *; » Sat Feb 18, 2012 1:21 am UTC

I'm trying to set up znc (to maintain IRC connections for me) on a micro instance from AWS, and I'm running into weird problems. I've opened the port in question (7777) in their security settings, and can't find any other security that might get in the way, but something is still going wrong.

Specifically, trying to connect from my local machine gives "Connection timed out." (As opposed to picking a closed port, which returns "Connection refused.") Running irssi through SSH on the server itself and connecting to localhost allows a connection, but that connection immediately disappears. The machine is connecting to the external network with no problem, and I can SSH in, so I'm lost for why I can't get in via my IRC client. (Xchat for Windows) The server's running Ubuntu Server, and AFAIK has no special firewall or other software that might interfere.

Does anyone have any clue what's happening?
...And that is how we know the Earth to be banana-shaped.
User avatar
Robert'); DROP TABLE *;
 
Posts: 633
Joined: Mon Sep 08, 2008 6:46 pm UTC
Location: in ur fieldz

Re: IRC problems on Amazon Web Service

Postby phlip » Mon Feb 20, 2012 6:18 am UTC

Try running netcat instead of your IRC program, to make sure there aren't any software problems... on the server run
Code: Select all
nc -l 7777
and on your local machine run
Code: Select all
nc servername 7777
If it works, you should be able to type in one and hit enter, and the words will appear in the other.

If that works, something's wrong with the configuration of your server program... if that doesn't work, something's wrong with the server settings. Firstly, you are connecting to the server's external IP, right? Not some internal AWS-network IP? IIRC from when I was running an AWS server for a while, external IPs had to be allocated and set up separately, and then assigned to an instance... if you don't do that, then the instance won't be visible from outside the network. I imagine if you can SSH in then you have this sorted, but maybe they have something to handle that, I can't remember.

IIRC when I set mine up, the only thing I had to do was to enter the port number and hit allow in the security settings when setting up the instance (though I seem to remember being unable to change it afterwards without tearing down the instance and creating a new one). After that, everything worked.
While no one overhear you quickly tell me not cow cow.
but how about watch phone?
User avatar
phlip
Restorer of Worlds
 
Posts: 6740
Joined: Sat Sep 23, 2006 3:56 am UTC
Location: Australia

Re: IRC problems on Amazon Web Service

Postby Robert'); DROP TABLE *; » Mon Feb 20, 2012 6:30 pm UTC

It works if I use PuTTy in telnet mode to make the connection from my local machine, which I assume is the same thing. What am I supposed to be looking for in the config? (The program in question is ZNC, if that helps.)
...And that is how we know the Earth to be banana-shaped.
User avatar
Robert'); DROP TABLE *;
 
Posts: 633
Joined: Mon Sep 08, 2008 6:46 pm UTC
Location: in ur fieldz


Return to The Help Desk

Who is online

Users browsing this forum: beojan and 6 guests