I need to forward my localhost for a short period of time for testing purposes. It has to be accessed from the public internet.
How can I achieve this?
Thanks.
This question is related to
localhost
port
wamp
portforwarding
You are accesing localhost
, meaning you have a web server running on your machine. To access it from Internet, you need to assign a public IP address to your machine. Then you can access http://<public_ip>:<port>/
. Port number is normally 80.
Try with your IP Address , I think you can access it by internet.
use your ip address or a service like noip.com if you need something more practical. Then eventually configure your router properly so incoming connection will be forwarded to the machine with the server running.
Open the port where your system is running (sample 8080). Open the port everywhere... Modem, firewalls, etc etc etc.
THen, send your ip + port to the person who will use it.
There are couple of good free service that let you do the same. Ideal for showing something quickly for testing:
Edits:
Even though you didn't provide enough information to answer this question properly, your best shots are SSH tunnels (or reverse SSH tunnels).
You only need one SSH server on your internal or remote network to provide access to your local machine.
You can use PUTTY (it has a GUI) on Windows to create your tunnel.
Source: Stackoverflow.com