If you are able to ping a node, and receive a response, then all that means is that you and the other node are both on a network or "online" and are able to communicate with each other. Ping has nothing to do with opening ports. And just out of curiousity, which port do you need open and why?