For future reference, you can find the P2P_PORT in the coin's source code in the protocol.h file, it's the 2nd value after GetDefaultPort.
You can find RPC_PORT in the source code in the bitcoinrpc.cpp file, look for GetArg (-rpcport, xxxx), where xxxx is the port.
I'm talking about the values you would specify in the bnetworks.py file.
Just to confirm what I *think* I know....
These values can be specified in the *.conf file as well can't they? (To match bnetwrks.py)