Connection Refused - Running Ircservices and Unreal

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
Xeon
Posts: 15
Joined: Fri Feb 11, 2005 8:28 pm

Connection Refused - Running Ircservices and Unreal

Post by Xeon »

I've been messing with this problem for two days now and I cannot figure out what I'm doing wrong here.

Here is what's happening.

My unreal ircd is up and running, working perfectly and I've compiled Ircservices to be used with this ircd.

When I run ./ircservices from the shell I get the following response in the shell window:
Initialization successful, starting IRC Services.

All looks good, but when I then examine the ircservices.log I see the following:

Code: Select all

IRC Services 5.0.23 starting up
httpd/main: Listening on :80
FATAL: Can't connect to server (127.0.0.1:7029): Connection refused
This tells me that there has got to be something wrong with my C/N lines, but when I examine them and try other settings, I just can't get passed this problem.

Here is my unrealircd.conf statements:

Code: Select all

link            services.mynet.net
{
	username	*;
	hostname 	127.0.0.1;
	bind-ip 	127.0.0.1;
	port 		*;
	hub             *;
	password-connect "nopass";
	password-receive "nopass";
	class           servers;
		options {
			/* Note: You should not use autoconnect when linking services */
	};
};

ulines {
	services.mynet.net;
};
And here is my ircservices lines:

Code: Select all

RemoteServer	127.0.0.1 7029 "nopass"
ServerName	"services.mynet.net"
Why in the world isn't this working?

Any and all help here would be greatly appreciated.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Do you have a listen block for port 7029?
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post by White_Magic »

this is prolly not needed (becuz as stealth mentioned u need a listen block for serversonly on lort 7029) but change the port for the link block in ur unreal ircd to 7029 as well.
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
Xeon
Posts: 15
Joined: Fri Feb 11, 2005 8:28 pm

Post by Xeon »

Stealth wrote:Do you have a listen block for port 7029?
Holy crap! How stupid can I be??

That's exactly what it was. I had myself convinced I didn't need that because I was placing it within the link section. I dunno why!

Thanks alot Stealth!
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

It happens, I've done it more than a few times 8)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

For the record...

link::port is only used for OUTGOING connections! (link::options::autoconnect and default port for /connect)
Xeon
Posts: 15
Joined: Fri Feb 11, 2005 8:28 pm

Post by Xeon »

That brings up another subject I have been wondering about.

Doesn't services autoconnect on launch?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Yes. NEVER EVER /connect services.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Locked