Forum Moderators: phranque

Message Too Old, No Replies

How to let Remote Users access Localhost

         

lli2k5

6:35 am on Sep 14, 2006 (gmt 0)

10+ Year Member



I have a website on localhost.

Is there anyway for a remote user to access the file if it is stored on my computer? Possibly connect by ip address?

I would like to enable that function.

eelixduppy

10:48 am on Sep 14, 2006 (gmt 0)



It should be something along these lines:

http://ip:port (if port is 80 then you can omit it)

Good luck!

lli2k5

4:11 pm on Sep 14, 2006 (gmt 0)

10+ Year Member



Do you have to give privileges through APACHE, TOMCAT, or MySQL?

RonPK

6:35 pm on Sep 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No. But if you're using a firewall you need to make sure that the rest of the world can access port 80.

jtara

4:20 pm on Sep 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your ISP may block inbound access to port 80. Most high-speed home services have this port blocked. You'd have to modify your server configuration to run the website on a different port, and have users put a port number in the URL.

Alternately, if you use a hardware firewall or router, you may be able to "map" a port to port 80 on your local machine, so that you don't have to alter the server configuration. You'd need a static IP address on your local machine for this to work.

Check first to see if this is a violation of your ISP's TOS, particularly if you have cable. If you have DSL, and you violate the TOS, you can perhaps change to another provider if they catch you. If you have cable: bummer.

Generally, they will look the other way if you are having a few friends or associates access a site on your home connection. Not so, if you are running a public website with significant traffic.

There are other issues regarding the IP address of your Internet connection (which may be distinct from the IP address of your computer - i.e. if you use a router/firewall) and domain names. But you should have enough to chew on for a while as it is...

System

5:36 am on Sep 27, 2006 (gmt 0)

redhat



The following 2 messages were cut out to new thread by jatar_k. New thread at: perl/3099327.htm [webmasterworld.com]
10:35 am on Sep. 27, 2006 <small>(pst -7)</small>

[edited by: jatar_k at 5:36 pm (utc) on Sep. 27, 2006]

aspdaddy

6:12 pm on Oct 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Best way is to allow inbound vpn traffic and then just use [localhost....] That way the remote user can access it safely without you needing to open it up to the web.