Connection problem

These are old archives. They are kept for historic purposes only.
JakeBarone
Posts: 6
Joined: Fri Aug 15, 2008 10:51 pm

Connection problem

Post by JakeBarone »

k so. ive got everything else up and running cept when other people try and connect to my server from my ip it says:

* Connecting to 92.13.119.133 (6667)
-
* Unable to connect to server (Connection refused)
-

and yes i port forwarded and even turned all firewalls off. even mirc firewall.

id be greatfull if some1 could help me with this. these are the only problems i have. besides them everything else is up and ready to go.

thanks.
Last edited by JakeBarone on Sat Aug 16, 2008 1:04 pm, edited 1 time in total.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Botserv and connection problem

Post by Jobe »

Either
A) you HAVEN'T got the port forwarded,
B) you HAVEN'T turned off the firewalls or
C) your IRCd is NOT listening on port 6667 on the IP you forwarded the port TO.
Your IP: Image
Your Country: Image
JakeBarone
Posts: 6
Joined: Fri Aug 15, 2008 10:51 pm

Re: Connection problem

Post by JakeBarone »

i had to put my lan ip to forward ports 6667 and other ones.i tried putting that ip in unrealircd to listen through. still didnt work.

Enable Service Name Action LAN Users WAN Servers Log
1 mIRCChat1 ALLOW always Any Any Always <<< my portforward for 6667.
Default Yes Any ALLOW always Any Any Never
JakeBarone
Posts: 6
Joined: Fri Aug 15, 2008 10:51 pm

Re: Connection problem

Post by JakeBarone »

now it comes up with:

2:18pm] * Unable to connect to server (Connection timed out)
-
[2:18pm] * Connect retry #1 92.13.119.133 (6667)
-
Casper
Posts: 338
Joined: Sun Jul 08, 2007 7:44 am
Location: The Netherlands

Re: Connection problem

Post by Casper »

What does your listenblock looks like?
Ex Network-Administrator
JakeBarone
Posts: 6
Joined: Fri Aug 15, 2008 10:51 pm

Re: Connection problem

Post by JakeBarone »

* {
* options {
* (options here);
* };
* };
* or for a plain
* listen: listen (92.13.119.133):(6667);
*
* NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
*
* That works also.
*/

/* Options for listen:
OLD | NEW
S serversonly
C clientsonly
J java
s ssl
* standard
*/

/* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
* besides numerous high-SSL ports, some people say you should run
* it at 994 because that's the official SSL port.. but that
* requires root! Besides, port 194 is the official irc port and
* have you ever seen an ircd running on that?
* So, our suggestion is to use port 6697 for SSL, this is used by
* quite some networks and is recognized by for example StunTour.
* You are free to open up as many SSL ports as you want, but
* by (also) using 6697 you help the world standardize a bit ;).
*/
listen *:6697
{
options
{
clientsonly;
};
};

listen *:8067;
listen *:6667;
JakeBarone
Posts: 6
Joined: Fri Aug 15, 2008 10:51 pm

Re: Connection problem

Post by JakeBarone »

any one. please.
sfreeman
Posts: 8
Joined: Tue Nov 25, 2008 2:49 pm

Re: Connection problem

Post by sfreeman »

Sorry to hijack this thread, but I'm having the exact same problem at home. I have the same listen block (copied right out of the example.conf), and my router's firewall (crappy little 2Wire DSL router) has a bunch of built-in firewall exceptions to choose from one of which is for IRC (it forwards ports 194, 6667 and 5100), so I just had to select it and apply it to my server. But I still can't connect to it. UnrealIRCD is running, but I can't connect from work via mIRC or Telnet. Anyone have any ideas? Did I miss setting something in the unrealircd.conf somewhere? Also, no, the Windows Firewall isn't running, the service isn't even enabled.
sfreeman
Posts: 8
Joined: Tue Nov 25, 2008 2:49 pm

Re: Connection problem

Post by sfreeman »

Ok, I know the server works, I was able to connect directly on the server using the loopback, so I just created a new IRC rule, adding for ports 6667, 8067, and 6697 (TCP and UDP, just in case), but I still can't connect externally, so I don't think it's a router issue, but it also doesn't seem like a config issue...I'm kinda lost right now. any ideas? just to clarify, here's the listen block:

listen *:6697
{
options
{
clientsonly;
};
};

listen *:8067;
listen *:6667;
zEkE
Posts: 111
Joined: Wed Apr 14, 2004 9:30 am
Location: Harrisonburg, VA
Contact:

Re: Connection problem

Post by zEkE »

If you can connect internally, either the port-forward is incorrectly configured (IE, not actually forwarding) or there is an issue with those ports on your ISP's side.

Try port-scanning those 3 ports (and some others that should be closed) and see if they show up differently.
NetAdmin - irc.unitedchristianchat.net
http://www2.i-al.net/ircbots/
sfreeman
Posts: 8
Joined: Tue Nov 25, 2008 2:49 pm

Re: Connection problem

Post by sfreeman »

ok, I got it to try to connect now, but it's failing with "Connection refused". The log file has nothing useful:
[Tue Nov 25 10:22:22 2008] - Connect - steve!steve@localhost [VHOST rox-1F3914C]
[Tue Nov 25 10:22:53 2008] - Disconnect - (0:0:31) steve!steve@localhost [VHOST rox-1F3914C]

It started getting this far after I used port 7029, as was defined here:
link hub.mynet.com
{
username *;
hostname (I changed this to the server's IP);
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Note: You should not use autoconnect when linking services */
autoconnect;

zip;
};
};

I tried using that password, but it didn't help. So...I dunno. Also, for some reason the .log file stopped updating. I've tried connecting a few other times, and it gets to the same point as the first try, but now I'm not getting any new lines in the .log. Any ideas??
zEkE
Posts: 111
Joined: Wed Apr 14, 2004 9:30 am
Location: Harrisonburg, VA
Contact:

Re: Connection problem

Post by zEkE »

Is that port being listen'd on by the IRCd?

Check that it is being opened by the IRCd and not another application, and that its not a 'serversonly' port, or an 'ssl' port.
NetAdmin - irc.unitedchristianchat.net
http://www2.i-al.net/ircbots/
sfreeman
Posts: 8
Joined: Tue Nov 25, 2008 2:49 pm

Re: Connection problem

Post by sfreeman »

I think this is what you're referring to:
listen *:6697;
listen *:7029;
{
options
{
clientsonly;
};
};

listen *:8067;
listen *:21090;
listen *:7029;
listen *:6667;

I put it in both sections just now to try it, and it still does nothing. "Connection refused", and no new entries in the log (except for when I start unrealircd.exe, the "time synch" entry appears, but nothing else).
GT1
Posts: 19
Joined: Sun Nov 16, 2008 6:16 pm

Re: Connection problem

Post by GT1 »

If thats your irc server ip just use 127.0.0.1 to connect to your ircd(what i do)
zEkE
Posts: 111
Joined: Wed Apr 14, 2004 9:30 am
Location: Harrisonburg, VA
Contact:

Re: Connection problem

Post by zEkE »

GT1: The internal connection is fine, he's trying to connect from outside.
NetAdmin - irc.unitedchristianchat.net
http://www2.i-al.net/ircbots/
Post Reply