Seva Seva - 1 year ago 123
C# Question

Socket C# - Local Ip works, but Internet IP do not work

Guys, i implemented a Socket with Client and Server side.
When I use my local IP (192.168...) it works. But when I put the Internet IP, it doesn't work!
What's the main causes for that please?

Thank you

Answer Source

You have a firewall or NAT device between you and the internet.

You should forward your port in your router.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download