If I am opening two ports and connect them in localhost. (On the same computer) What would be the rate between them?
My internet's rate is 100 Mbps and network is 1Gbps.
If your data transfers are on the same machine, then your internet/network speed isn't relevant since data won't go through the network card.
The only thing that matters is your computer processing speed ;)