Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Can't connect to server: Connection refused  (Read 9555 times)

0 Members and 1 Guest are viewing this topic.

Pim Peters

  • Anope User
  • Offline Offline
  • Posts: 4
Can't connect to server: Connection refused
« on: August 21, 2013, 05:24:18 PM »

Getting a connection refushed with this settings:

Unrealircd.conf:
Code: [Select]
#This is the services link block
/*
link            services.disgeae.nl
{
        username        *;
        hostname        127.0.0.1;
        bind-ip         *;
        port            6667;
        hub             *;
        password-connect "pass";
        password-receive "pass";
        class           servers;
};
*/

#This is the ulines block
ulines {
        services.disgeae.nl;
};

services.conf:
Code: [Select]
RemoteServer    127.0.0.1 6667 "pass"

ServerName  "services.disgeae.nl"
ServerDesc  "Disgeae's network"
ServiceUser "services@disgeae.nl"

And this is in the logs:
Code: [Select]
[Aug 21 18:19:34 2013] Every UserKey must be different. It's for YOUR safety! Remember that!
[Aug 21 18:19:34 2013] Loading IRCD Protocol Module: [unreal32]
[Aug 21 18:19:34 2013] status: [0][Module, Okay - No Error]
[Aug 21 18:19:34 2013] Loading Encryption Module: [enc_none]
[Aug 21 18:19:34 2013] status: [0][Module, Okay - No Error]
[Aug 21 18:19:34 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 21 18:19:34 2013] MSMemoReceipt not enabled in services.conf
[Aug 21 18:19:34 2013] Databases loaded
[Aug 21 18:19:34 2013] Info: Reflecting database records.
[Aug 21 18:19:34 2013] FATAL: Can't connect to server: Connection refused

I don't get what I'm doing wrong..
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Can't connect to server: Connection refused
« Reply #1 on: August 21, 2013, 05:27:36 PM »

At a guess I'll say your ircd isn't listening on 127.0.0.1 port 6667.
Logged

Pim Peters

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Can't connect to server: Connection refused
« Reply #2 on: August 21, 2013, 05:55:52 PM »

Code: [Select]
listen         *:8067;
listen         *:6667;

This?
Logged

Pim Peters

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Can't connect to server: Connection refused
« Reply #3 on: August 21, 2013, 06:25:32 PM »

Fixed it by restarting unreal, getting new one:

Code: [Select]
[Aug 21 19:24:57 2013] Every UserKey must be different. It's for YOUR safety! Remember that!
[Aug 21 19:24:57 2013] Loading IRCD Protocol Module: [unreal32]
[Aug 21 19:24:57 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:57 2013] Loading Encryption Module: [enc_none]
[Aug 21 19:24:57 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:57 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 21 19:24:58 2013] MSMemoReceipt not enabled in services.conf
[Aug 21 19:24:58 2013] Databases loaded
[Aug 21 19:24:58 2013] Info: Reflecting database records.
[Aug 21 19:24:58 2013] Connected to Server 1 (127.0.0.1:6667)
[Aug 21 19:24:58 2013] trying to load [cs_appendtopic]
[Aug 21 19:24:58 2013] [cs_appendtopic] Loaded successfully
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [cs_enforce]
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [ns_maxemail]
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [os_info]
[Aug 21 19:24:58 2013] os_info: Loading configuration directives...
[Aug 21 19:24:58 2013] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [hs_request]
[Aug 21 19:24:58 2013] hs_request loaded
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:24:58 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:24:58 2013] Read error from server: Broken pipe (error num: 32)
[Aug 21 19:24:58 2013] [cs_appendtopic] Unloaded successfully
[Aug 21 19:24:58 2013] hs_request un-loaded[/cpde]
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Can't connect to server: Connection refused
« Reply #4 on: August 21, 2013, 06:43:10 PM »

Logged

Pim Peters

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Can't connect to server: Connection refused
« Reply #5 on: August 21, 2013, 06:51:29 PM »

Did that, still getting error..

Getting this one debug:

Code: [Select]
[Aug 21 19:51:56.733916 2013] debug: Received: ERROR :Link denied (No matching link configuration) [@127.0.0.1.50386]
[Aug 21 19:51:56.734010 2013] debug: Link denied (No matching link configuration) [@127.0.0.1.50386]
[Aug 21 19:51:56.734042 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:51:56.734348 2013] debug: Received: ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734380 2013] debug: Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734405 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:51:56.734662 2013] debug: Emitting event "db_saving" (1 args)
« Last Edit: August 21, 2013, 06:53:02 PM by Pim Peters »
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 240
    • French Eggdrop community
Re: Can't connect to server: Connection refused
« Reply #6 on: October 07, 2013, 01:47:41 PM »

Anything in your unreal log ?

What about your allow configuration ?
I'm quite doubtful about the port you use for the link (same for users and linked servers ?)

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network
Re: Can't connect to server: Connection refused
« Reply #7 on: October 07, 2013, 02:04:21 PM »

actually it would be helpful if you could paste the following things together:

- The Unreal's link block
- The remoteserver part from services.conf
- The services server name
- The listen block

99% the error is in one of these.
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Can't connect to server: Connection refused
« Reply #8 on: October 07, 2013, 03:21:19 PM »

[Aug 21 19:51:56.734348 2013] debug: Received: ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734380 2013] debug: Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734405 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
Logged
Pages: [1]   Go Up