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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
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:
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

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
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.