Remote access of Localhost...best method?

If you mean you are running a local webserver on your PC (for development) and want to access it when with a client?

1. Use a Remote Desktop application to access the PC, use the browser on the PC to navigate to your localhost.

2. Change your firewall settings so the web server is open to the world and make a note of the IP address to access it. Not really recommended.
 
Upvote 0

sanjiv

Free Member
Feb 15, 2010
2,121
247
localhost just refers to the IP of the PC you are on.

To remote desktop into it, the easiest way would be LogMeIn.com

You can set it up with Microsoft's Remote Desktop Client but this involves allowing an IP address direct access to your PC and is not as simple to setup.
 
Upvote 0
localhost just refers to the IP of the PC you are on...

Yes I agree but my assumption was based on the fact that Baz is a web developer and web developers will often have 'work in progress' websites that they wish to show clients.

In this case it the most common use of 'localhost' would be the local web server that hosts these sites.

If it for general access I agree they RDP or VNC would be the way to go.

Perhaps it would help if Baz clarified exactly what he wants to do.

Regards

Dotty
 
Upvote 0

sanjiv

Free Member
Feb 15, 2010
2,121
247
Yes I agree but my assumption was based on the fact that Baz is a web developer and web developers will often have 'work in progress' websites that they wish to show clients.

In this case it the most common use of 'localhost' would be the local web server that hosts these sites.

If it for general access I agree they RDP or VNC would be the way to go.

Perhaps it would help if Baz clarified exactly what he wants to do.

Regards

Dotty
Yes that could be right.

Another way which you could do this would be to put the folders into a Dropbox and have the server running on your laptop too.
 
Upvote 0
...Another way which you could do this would be to put the folders into a Dropbox and have the server running on your laptop too...

Yes I use Wuala in a similar way.

All my working directory is continually uploading to 'the cloud' and I can securely access it from any device that has the Wuala client installed. e.g most frequently my laptop or Android tablet.

Regards

Dotty
 
Upvote 0

Baz Watkins

Free Member
Jan 3, 2011
731
118
Aberystwyth
yep, sorry, a bit of clarification might help.

Basically I mean localhost as in http: // localhost / websitename... running via xampp/apache/mysql.

I build the site on my work pc, and I just want to access the 'in progress' website via a laptop when I'm having an update meeting with clients.
 
Last edited:
Upvote 0
...Basically I mean localhost as in http: // localhost / websitename... running via xampp/apache/mysql...

This is what I was assuming.

Personally I would use port forwarding on your router and use basic authentication on your website(s).

If you want to reduce the chance of your website being 'discovered' and attracting brute force attacks you could use a less known or random public port to forward to port 80 on your local machine.

e.g publicIP:**** forwards to localIP:80

Regards

Dotty
 
Upvote 0

sanjiv

Free Member
Feb 15, 2010
2,121
247
Do you have a static ip? You may need to use a service like DynDNS if your router supports auto updating. Then you can port forward to your PC. I would also recommend fixing the internal IP of your PC.

or just put the website folders in Dropbox and access it with localhost.
 
Upvote 0

Latest Articles