To list the ports:
$ netstat -nalp | grep amule
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:4712 0.0.0.0:* LISTEN 1060/amule
tcp 0 0 0.0.0.0:4662 0.0.0.0:* LISTEN 1060/amule
udp 0 0 0.0.0.0:4672 0.0.0.0:* 1060/amule
udp 0 0 0.0.0.0:4665 0.0.0.0:* 1060/amule
unix 2 [ ACC ] STREAM LISTENING 66189 1060/amule /home/amule/.aMule//muleconn
unix 3 [ ] STREAM CONNECTED 66185 1060/amule
4662TCP: amule TCP listening port.
4665 UDP: TCP + 3
4672 UDP: amule UDP port
4712 TCP: External Connections, used by amuleweb and amulecmd, not enabled by default.
The unix domain sockets are currently only used to detect that aMule is currently running on the system, iirc.
Cheers!