简体   繁体   中英

Unabled to access locally hosted wcf service over the internet

Running wcf service on local machine and trying to connect from another machine by public IP address on specified port not LAN internal IP. basically I wanted to make chat application without including any central server. client machine would be treat as a server like torrent.

You have to forward the port from your router to the computer on your local network. That's because the router is in between your computer and the Internet, and so your router is actually the one with the Public IP.

There is a site that has good guides for forwarding ports on many different router models. Also check your router's manual if you still have it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM