Port communications between pods


I have two pods one on one node and the the other on a second node
Using execute shell i can ping the container on the remote host and vice a versa
How ever when i try do any port based communication it fails i.e telnet localhost 1039 fails and
nmap -Pn localhost -p 1039 shows the port as closed. the communication is only internal to the pods no access to the outside world is needed. I tried with no port mapping with ClusterIP mapping and with HostPort mapping but the services are available locally or remotely
I’m sure i’m doing something wrong or skipping a step