title: Connect an ip behind nat using sockets
body: <p>Consider a phone which is connected to wifi with phones A, address as Dynamic Ip <code>ex:192.168.0.34</code> and its listening over a server socket at <code>port 7567,</code> In what way can i connect to that socket using any programming language if i have another phone B to connect that which is on public ip say <code>10.0.0.56</code> and i have the wifi router ip say ex <code>55.56.89.76</code>  ?</p>