Interesting error message.

I don't know how you've got mIRC setup for connecting, but to connect to a server use /server <server name/address>

For example, if you wanted to connect to the DalNet network, you would use /server irc.dal.net