Welcome to Comcast Help & Support Forums
Find solutions, share knowledge, and get answers from customers and experts

New to the Community? Start here.

5,431,196

members

31

online now

1,659,406

discussions

Socket Connection and Port Forwarding

Highlighted
Posted by
Visitor
  • The Community would like to Welcome you!

Member Since: ‎11-19-2012
Posts: 1
Message 1 of 1 (710 Views)

Socket Connection and Port Forwarding

I am creating a server/client program.

 

I've tested my code so that a PC in my office with a public IP address acts as the server

and the PC in my home behind the Xfinity router is the client.

Under this configuration, my server/client program works well.

 

It breaks when I reverse the roles.

The client PC (my office PC now) tries to connect with the socket of my home PC using the public IP address of my WAN. My home PC binds to its LAN IP address but I configured my router so that the it fowards packets to my home PC.

 

Unfortunately, this still doesn't work. 

 

Any ideas of what could be going wrong?