Seva Seva - 17 days ago 6
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

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

You should forward your port in your router.