Here are the Intermapper ports to whitelist on the firewall.
Remote server port: 8181 TCP by default
IMDC port: 8182 TCP by default
IM Database port: 8183 TCP by default
IM Flows ports: 8184, 2055, 6343 by default. Port 2055 & 6343 are UDP. Port 8184 is TCP.
Web server port: 80 or 443 TCP by default if turned on, but commonly changed
Telnet server port: 23 TCP by default if turned on, but commonly changed
SNMP trap ports: 162 UDP by default; optionally 161 UDP or some other port as well, depending on configuration.