mIRC uses port 113 for IdentD. It uses, by default, ports 1024 to 5000 for DCC. If enabled, mIRC will use port 59 for DCCServer.
All of these ports are customisable.
To change the port used for IdentD, go to
ALT+O > Connect > IdentD (Highly NOT recommended!)
To change the port used for DCCServer, go to
ALT+O > DCC > Server To change the ports used for DCC, go to
ALT+O > Connect > Options > [Advanced]For DCC it's usually best to use 2 ports in the range of 1024-5000, preferably consecutive. First: must be the port number at the start of the port range, and Last: must be the last one. So, if you open 4000, 4001, 4002, 4003 and 4004, you would put:
First: 4000 Last: 4004
If you have Firewall(s) you will need to forward the ports and then set them in mIRC options - mIRC does not override the firewall. The same goes for routers. It is unlikely you'll need to use DCCServer. Port 113 should be used for Identd all the time.
For safety sakes you should consider always having a trojan scanner and virus scanner on your computer at all times, with auto protect features enabled where possible. Check out the
trojan resources post. Whatever program gave you that list is probably informing you that those ports
can be used by trojans, not necessarily that you've got one.
You can use
this program to safely disable UPnP on your computer if you like
Hope this helps!
Regards,