Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Nemesis Forever on April 14, 2011, 01:32:51 PM
-
I am using Unrealircd 3.2 and Anope 1.8.5. I installed it today on a webhost which doesn't provide static ip to point to my website.
The same IP is being used to host lots of websites.
I have configured the as per this topic (http://forum.anope.org/index.php?topic=1267.0).
What changes needs to be done?
I'm getting the error " FATAL: Can't connect to server: Connection refused" when trying to start Anope with ./services -debug -nofork
Please help.
-
Connection refused means your IRCd is NOT listeneing on the IP and port RemoteServer in services.conf tells Anope to connect to.
Note the port param of a link block will NOT make UnrealIRCd listen on that port. You will still NEED to add a listen block for the port (and IP if not *).
-
Connection refused means your IRCd is NOT listeneing on the IP and port RemoteServer in services.conf tells Anope to connect to.
Note the port param of a link block will NOT make UnrealIRCd listen on that port. You will still NEED to add a listen block for the port (and IP if not *).
How do I add a listen block for the port?
This is how I have configured services.conf till now:
RemoteServer 127.0.0.1 7070 "password"
This is how I have configured unrealircd.conf till now:
listen 127.0.0.1:7070
{
options
{
serversonly;
};
};
link services.mysite.com
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 7070;
hub *;
password-connect "password";
password-receive "password";
class servers;
options {
};
};
ulines {
services.mysite.com;
stats.mysite.com;
};
set {
network-name "Mysite";
default-server "irc.mysite.com";
services-server "services.mysite.com";
stats-server "stats.mysite.com";
help-channel "#Mysite-Help";
hiddenhost-prefix "Mysite";
}
-
With that listen block it should work.
Did you add that listen block before or after starting Unreal? If after, did you remember to /rehash?
-
It's working now.... Thanks....