by lazypenguin on Thu Aug 25, 2016 11:32 pm
Luke, Bless gave you the answer but you were too busy calling his advice "noob" to notice that you are in fact the "noob" in this conversation.
Regardless, I will try to explain to you the basics so that hopefully you can google this subject and educate yourself. I assume you are running XAMMP/WAMP as it's part of setting up some of the server distributions on this site. The "A" in that acronym refers to Apache and more specifically the Apache HTTP server (aka web server). When you run this on your machine, the server will serve web content on a specific port (default 80) from a directory that you've configured in XAMMP/WAMP's settings. So now, when you open your browser to 127.0.0.1:80 (80 is the default for http so if you dont specify the port then it will assume 80), your browser will make a request to that port on your local machine (127.0.0.1 is a loopback IP address that points back to your own machine) and your server will respond by sending back some HTTP data.
Your router is the gateway to your network. Any requests from the outside coming in get routed to the correct machine on your local network and for security reasons, many ports are locked down. What you need to do is tell your router "any requests coming to you from the outside world on port XX, send those requests to machine YY" -- this is called port forwarding. Once you enable it your router will then pass through all traffic from the outside world on port 80 to a port you specify on your internal machine.
Use Bless's link to do the rest.