i cant connect to my server Connection timed out

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

i cant connect to my server Connection timed out

Post by 4mIRC » Mon Apr 13, 2020 4:34 pm

Dear Team
its long time away from unrealircd and irc stuff
already installed the unrealircd and did the configuration

everything goes good i guess from the shell
Loading IRCd configuration..
Configuration loaded.
Initializing TLS..
Dynamic configuration initialized.. booting IRCd.
UnrealIRCd is now listening on the following addresses/ports:
IPv4: *****:6900(SSL/TLS), *****:6697(SSL/TLS), *****:6667
IPv6: <none>
UnrealIRCd started.
but when i tried to connect from the server it gave me
[20:31] * Connect retry #1 *****(6667)
-
[20:32] * Unable to connect to server (Connection timed out)
-
[20:32] * Connect retry #2 ***** (6667)
-
[20:32] * Unable to connect to server (Connection timed out)
-
[20:32] * Connect retry #3 *****(6667)
-

why is that? maybe i forget something but i cant remember where :)

can you help me?
regards

katsklaw
Official supporter
Posts: 1122
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: i cant connect to my server Connection timed out

Post by katsklaw » Mon Apr 13, 2020 11:02 pm

Is there a firewall between you and your server?

The_Myth
Posts: 45
Joined: Tue Jun 27, 2017 4:42 pm

Re: i cant connect to my server Connection timed out

Post by The_Myth » Mon Apr 13, 2020 11:24 pm

katsklaw wrote:
Mon Apr 13, 2020 11:02 pm
Is there a firewall between you and your server?
Other than that, I believe that the default policy is to deny connections on port 6667.

Try port +6697 (SSL/TLS) and let us know the outcome.

Hope this helps.

Cheers!
PeGaSuS

k4be
Posts: 36
Joined: Sun Jan 09, 2005 12:19 pm
Location: Poland

Re: i cant connect to my server Connection timed out

Post by k4be » Tue Apr 14, 2020 4:32 am

No, the default policy is only about /oper and server linking, and still it does not prevent accepting connections (only generates an error later). If the server says it's listening on 6667 without TLS, it should accept the connections.
The problem probably has something to do with network configuration. You should first try connecting from the same machine the IRCd is on to ensure the server is working, and then troubleshoot the network issue (likely a firewall, as stated above).

Syzop
UnrealIRCd head coder
Posts: 1933
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: i cant connect to my server Connection timed out

Post by Syzop » Tue Apr 14, 2020 10:21 am

k4be is correct, this is a network configuration issue, the connection is stopped before UnrealIRCd even had a chance of handling it. So it is a firewall or router issue.

The_Myth
Posts: 45
Joined: Tue Jun 27, 2017 4:42 pm

Re: i cant connect to my server Connection timed out

Post by The_Myth » Tue Apr 14, 2020 10:24 am

Yeah, I am sorry I've mixed up things.
The deny policy Indeed only applies to servers/opers.

Cheers!
PeGaSuS

4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i cant connect to my server Connection timed out

Post by 4mIRC » Tue Apr 14, 2020 1:47 pm

katsklaw wrote:
Mon Apr 13, 2020 11:02 pm
Is there a firewall between you and your server?
yes
how to allow from the firewall if the issue from it?
The_Myth wrote:
Mon Apr 13, 2020 11:24 pm
katsklaw wrote:
Mon Apr 13, 2020 11:02 pm
Is there a firewall between you and your server?
Other than that, I believe that the default policy is to deny connections on port 6667.

Try port +6697 (SSL/TLS) and let us know the outcome.

Hope this helps.

Cheers!

* /server: ssl not available
-
[17:47] * Disconnected
-
* /server: ssl not available

4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i cant connect to my server Connection timed out

Post by 4mIRC » Tue Apr 14, 2020 1:55 pm

Dear Team
once i disabled the firewall the server worked fine

There are 1 users and 0 invisible on 1 servers
I have 1 clients and 0 servers
-
Current local users: 1 Max: 1
Current global users: 1 Max: 1
-
MOTD File is missing


how to enable the server from the firewall?
im using ConfigServer Security & Firewall - csf v14.02

4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i cant connect to my server Connection timed out

Post by 4mIRC » Tue Apr 14, 2020 2:06 pm

after i used the last mirc version

i tried to use +6697 but its not workign "* Unable to connect to server (SSL wrong version number)"

Lord255
Posts: 26
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: i cant connect to my server Connection timed out

Post by Lord255 » Tue Apr 14, 2020 2:19 pm

"how to enable the server from the firewall?
im using ConfigServer Security & Firewall - csf v14.02"

read:
https://kb.iweb.com/hc/en-us/articles/2 ... ewall-CSF-
but please use google, since this is not an unrealircd question. :)

for port 6697:
https://www.unrealircd.org/docs/SSL_Cip ... _protocols

4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i cant connect to my server Connection timed out

Post by 4mIRC » Tue Apr 14, 2020 2:51 pm

Lord255 wrote:
Tue Apr 14, 2020 2:19 pm
"how to enable the server from the firewall?
im using ConfigServer Security & Firewall - csf v14.02"

read:
https://kb.iweb.com/hc/en-us/articles/2 ... ewall-CSF-
but please use google, since this is not an unrealircd question. :)

for port 6697:
https://www.unrealircd.org/docs/SSL_Cip ... _protocols
worked great after adding 6667 in Firewall

but now for port 6697:
i dont know how to allow it!!

added this in unrealircd.conf
set {
ssl {
protocols "All,-TLSv1,-TLSv1.1"; /* allow only TLSv1.2 and up */
ciphers "EECDH+CHACHA20 EECDH+AESGCM EECDH+AES AES256-GCM-SHA384 AES128-GCM-SHA256 AES256-SHA256 AES128-SHA256 AES256-SHA AES128-SHA";
/* no need to set a ciphersuite "xx"; for TLSv1.3, since it's already secure */
};
};
but still having this iddue
* Unable to connect to server (SSL wrong version number)

can any one please give me the right command to add in unrealircd.conf

4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i cant connect to my server Connection timed out

Post by 4mIRC » Tue Apr 14, 2020 4:12 pm

sorry i fixed it like this

listen {
ip xx.xx.xx.xx;
port 6697;
options { ssl; };
};

is that correct?

Lord255
Posts: 26
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: i cant connect to my server Connection timed out

Post by Lord255 » Tue Apr 14, 2020 4:16 pm

yes.
see reference:
https://www.unrealircd.org/docs/Listen_block#Example
for port 6697 the option "ssl" (or "tls") should be added. (thats the default)

Post Reply