I cannot access localhost on another network machine

Asked

Viewed 1,485 times

5

I’m trying to access the localhost (ip: 192.168.0.11) via another network machine. Start Apache with 8080 port access (with Easyphp Devserver 16.1) and type in the browser of another network machine (ip: 192.168.0.15) the address "http://192.168. 0.11:8080/website". The page keeps loading until it’s timeout and I can never access it. I’ve already released port 8080 in the firewall of windows 10, but it didn’t help. Would anyone have any idea why it doesn’t work?

Note: when I disable the localhost firewall and try to access from another machine, the connection is refused instead of timeout.

  • You need to check the apache file to see if it can receive requests from other machines other than the location

  • Okay. Would you tell me which file? I don’t quite understand that. I simply installed Easyphp and started using without the need to make complex configurations.

  • You can start with that answer, remember to restart apache after any file changes.

  • 1

    Man, thank you so much! It worked now. It was worth more!!!

  • 1

    @Breno Macena, closes the question whether the question has been resolved.

  • 2

    "localhost" will never be accessed from another network machine, there is a terminology problem. If you want 192.168.0.11, you don’t want localhost (which by default is 127.0.0.1.)

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.