title: Client Server over shared Public IP address?
body: <p>I am writing my own Chat application that uses the Server Client model over TCP. It is just for own learning. </p>
  
  <p>When I connect over local networks, there is no hitch. This I understand as the other local IPs are directly available. Example: 192.168.1.28 connect to server 192.168.1.90</p>
  
  <p>Then I tried to move is to connect over the internet.</p>
  
  <p>I have set up my router to port forward tcp connections to my server on 192.168.1.90 through port 4296.</p>
  
  <p>Then I look for my router's public IP address. it shows 101.1.1.20</p>
  
  <p>Then I setup my client in another friend's PC with another connection. And executeby connecting Client to IP: 101.1.1.20 on port 4296</p>
  
  <p>It fails....</p>
  
  <p>Upon further investigation, it seems my router's public IP is a SHARED PUBLIC IP. Which would mean there is another layer on top of my router I suppose</p>
  
  <p>Any tips on where to go further on this? I am stumped.</p>