what is the significance of the rpc port and it's relation to the functionality of bitcoin In this outdated but seemingly comprehensive guide to creating an altcoin fork of bitcoin they make special mention of the need to change the rpc port.
Although in the intervening time the file names have changed the variables remain so I think this advice is still valid.
What is the purpose of these ports? What information do they transmit? Why are they there and why must we change them when creating a new network?

Step 4- Ports(required)
a) bitcoinrpc.cpp 
    -change RPC port.

    Code:
    ip::tcp::endpoint endpoint(bindAddress, GetArg(&quot;-rpcport&quot;, 55883));

    Code:
    if (!d.connect(GetArg(&quot;-rpcconnect&quot;, &quot;127.0.0.1&quot;), GetArg(&quot;-rpcport&quot;, &quot;55883&quot;)))

b) init.cpp
   -change RPC port

    Code:
    -rpcport= &quot; + _(&quot;Listen for JSON-RPC connections on  (default: 55883)&quot;) + &quot;\n&quot; +

    -change Testnet and Common port(P2P).

    Code:
    -port= &quot; + _(&quot;Listen for connections on  (default: 55884 or testnet: 45884)&quot;) + &quot;\n&quot; +

c) protocol.h

  -Testnet and P2P port again.

    Code:
    return testnet ? 45883 : 55884;
There's no reason why you need to change them if you're not concerned about running Bitcoin and an altcoin on the same device/IP address.