mIRC Home    About    Download    Register    News    Help

Print Thread
Connecting not trying different port #265613 14/06/19 01:27 PM
Joined: Jul 2006
Posts: 3,586
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,586
In the server list, I have Freenode > Random server > edit > server is irc.freenode.net, port is 6666-6667.

In alt o > Connect > option > retry, I have 'try next server in group' unchecked.

/server irc.freenode.net can lead to mIRC trying to connect on port 6666 for what seems forever.

Quote:
[14:54:47] * Connecting to irc.freenode.net (6666)
[14:55:08] * Unable to connect to server (Connection timed out)
[14:55:11] * Connect retry #1 irc.freenode.net (6666) (dns pool)
[14:55:32] * Unable to connect to server (Connection timed out)

And the above can go on forever

Is it normal for mIRC not to cycle between the two ports in this case, when one fails? Is it not cycling because it's not 'trying another server in group"?

Of course in this case I could just remove 6666, which is what I did for the meantimes, but the current implementation seems to be buggy.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Connecting not trying different port [Re: Wims] #265617 14/06/19 09:57 PM
Joined: Feb 2003
Posts: 2,669
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,669
Yeah, it does seem like it should automatically try a different [random] port when a range/multiple-ports are supplied. The idea of port ranges is/was supposed to load balance users and to keep people/firewalls/ISPs guessing if some ports are blocked.

Would not expect mIRC to get hung up on a singular port, or attempt the first port necessarily in a portA-portZ range.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Connecting not trying different port [Re: Raccoon] #265618 14/06/19 10:37 PM
Joined: Jul 2006
Posts: 3,586
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,586
I checked and mIRC sometimes does try the 6667 port in my case, but I've seen it trying 6666 99 times consecutively, bad luck? confused


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Connecting not trying different port [Re: Wims] #265619 14/06/19 10:58 PM
Joined: Feb 2003
Posts: 2,669
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,669
On start first-time connect? Or disconnected reconnect?


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Connecting not trying different port [Re: Wims] #265626 21/06/19 08:41 AM
Joined: Dec 2002
Posts: 4,586
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,586
Thanks this issue has been fixed for the next version.

Re: Connecting not trying different port [Re: Khaled] #265627 21/06/19 01:16 PM
Joined: Jul 2006
Posts: 3,586
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,586
Hello,

Note that while wanting to test this, I reboot mIRC and the beta expired (v7.55.2030). I was going to get the new beta but instead i downloaded 7.55, and 'upgraded' the mirc.exe.
After that, I ran mirc.exe and it crashed right at startup, i did not screenshot or check the error, I reran it and have been running it since then without any problem.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net