We'll focus on how this is done on Windows. The first thing we need to find out is whether or not the application is listening to traffic on that port. Ok, I did all this and it's still not working Note that there are a lot of extra options here which are not needed and should be left blank. In the end, your routers setting may look like this: Protocol: TCP (HTTP uses TCP instead of UDP, but most of the time you have the option to select both if you're unsure, but that's beside the point) Internal IP: 192.168.1.10 (your PC's internal IP address, which is good practice to configure with a static IP) So you go into your router settings and go to the port forwarding section and put in the following information: So what you have to do is tell your router to send those requests to your PC instead of just throwing them out. It throws out that request and sends back a TCP RST to whoever made the request in the first place. What's happening is the HTTP request makes it all the way through the internet and once your router gets it, it says "Hang on, I'm not running any application using port 80". So you go to and you get your public IP and you tell all your friends to visit. If you were to host a website on your PC, your HTTP server application would expect to receive requests on port 80. Great, but you haven't told me about port forwarding yet
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |