mIRC Homepage

Changing host name and IP address

Posted By: BenderUnit

Changing host name and IP address - 09/02/20 09:43 PM

I've just updated from 7.57 to 7.59 (so no idea if this issue was already present since 7.58 or not).
My situation is as follows: I leave the computer running 24/7 and also mIRC. I am also in a permanent DCC Chat with an Eggdrop, so every time I restart the computer and/or mIRC, I start a DCC Chat with this Eggdrop. This Eggdrop is running on the local network which is a NAT'ed network (with properly forwarded ports at the router) and so has an internal IP address. I also need to be able to DCC Chat (or send) to external publicly routable IP addresses.

So, in the settings in Connect->Local I leave the IP address set to my external IP so the NAT traversal works when wanting to connect to external addresses. But as I said, I'm also in permanent DCC Chat with this one locally running Eggdrop bot, so, upon starting mIRC and connecting to IRC, I go to Connect->Local, change the IP to my internal IP address of the computer running mIRC, open the DCC Chat with this Eggdrop and then once the chat is established I go back to the settings and change the IP back to my external IP so that everything continues to work afterwards for external connections.

Now here comes the issue: These settings don't take anymore since the update. I change the IP address and press OK to close the dialog window but its still set to the IP that was originally filled in... it simply wont take the change anymore whereas before this was never an issue.

In the meantime I thankfully found a workaround, which is to run simply "/localinfo" with no parameters, this changes the IP to my internal one, I do the DCC Chat and then I run "/localinfo <my-external-ip>" so that DCC Chatting to external bots work too.

Should you wonder why I'm doing it this way, its because of NAT timeouts that happen if I just simply leave it set to my external IP to connect to the locally running bot, the connection dies after a while and doing this prevents that and also prevents the connection from needing to pass through the router (which for this bot is absolutely unnecessary), which is also nice.
Posted By: Khaled

Re: Changing host name and IP address - 10/02/20 08:34 AM

Thanks for your bug report. I have not been able to reproduce this issue. As far as I can tell, there have been no changes to the way local info settings are stored or used.

Can you describe, step by step, how to reproduce your issue? For example, here is what I am trying:

1) Open the Options dialog.
2) Go to the local info section.
3) Type in a valid IP address, such as, in the IP address editbox.
4) Press the OK button.

If I then open the Options dialog again, the IP address is still there.

If I exit mIRC and run it again, and repeat the above, the IP address is still there.

If I go to the Options dialog and change the IP address, it is saved, as above.
Posted By: BenderUnit

Re: Changing host name and IP address - 12/02/20 02:27 PM

You must also first connect to an IRC server, then try and change the IP. Other than that, those are exactly the same steps I'm doing.
Make sure there is already something filled in, though, like, then connect to an IRC server (I'm using TLS but this should not matter) and then try to change it to for example and press OK. If you then open the options dialog again it should still say instead of the new address.

1) Start mIRC
2) Go check Options->Connect->Local settings to see that there is already an IP filled in, for example and click Cancel to back out of it.
3) Connect to an IRC server (I'm using TLS although this shouldn't matter)
4) Go to Options->Connect->Local and change the IP to and click OK
5) Go check the options again and you should see that the old IP is still there instead of the newly entered IP
Posted By: Khaled

Re: Changing host name and IP address - 13/02/20 10:19 AM

Thanks, I was able to reproduce this issue. It has been fixed for the next version.
Posted By: BenderUnit

Re: Changing host name and IP address - 14/02/20 02:31 PM

Oh, great news, thank you!
© 2021 mIRC Discussion Forums