R
R
R4ndolphC4rter2019-08-11 21:20:05
HTML
R4ndolphC4rter, 2019-08-11 21:20:05

How can I open an HTML page located on a local server on another device?

Good afternoon!
I have an index.html file on my computer.
I'm running it on a local server (using the MAMP environment).
Now, in order to open a page on a computer located on a local server, I just need to write "localhost" in the search bar.
Question:
Can I view the same page located on a local server from another device, such as a phone or TV. Both the phone and the TV have Internet access. As I understand it, they are all connected to the same network.
If I can view the page, then how can I do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton R., 2019-08-11
@R4ndolphC4rter

You need the ip of the computer on which this file is locally located, this computer is like a "host"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question