How to access multiple local hosts from phone on network

When I only had one host (localhost) I would just enter my computer's ip address into my phone and it would load on my phone.

If you have multiple hosts, how do you access the host remotely?
burnedfacelessAsked:
Who is Participating?
 
masnrockConnect With a Mentor Commented:
So you have multiple Web servers... the answer is it depends. Are all of said servers publicly accessible?

If they are all behind the same public IP, then you need to configure each server to use a different port, and forward the right ports on your firewall. Then to access any Web server that isn't using port 80, it would look like this:
Http://public IP:port

If you are doing it from within the same network the servers are on, it would be http://hostname:port
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Which app are you going to use? Remote Desktop?
Of course you can always type in the IP address of another host to reach out to it. It doesn't matter if it's one or 100 machines on the network.
0
 
burnedfacelessAuthor Commented:
How do you get the IP address of a localhost

I.e. what would be http://project1 on the machine that is hosting the files (LAMP environment)
0
 
masnrockCommented:
What type of phone are you using and what version of operating system is it running?
0
 
burnedfacelessAuthor Commented:
Hey I just set the page back to localhost.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.