Access a site from a server that is on the same LAN (XAMPP)

Asked

Viewed 74 times

0


Hello to all!

I have two computers:

  • Windows 7;
  • Windows Server 2012.

My site is in the xampp of windows server 2012, and I want to access it through windows 7.

I have tried searching the browser for the IP, by the name of Windows Server 2012, and also tried searching for the Namediindowsserver.NomeDaEmpresa.com but the error is always the same:

ERR_CONECTION_TIMED_OUT

I wonder what I need to configure in Xampp, or even in Windows Server 2012 to be able to fix this error.

Thanks in advance!

  • 1

    The server has to be configured to accept external connections within the network, at port 80, which by default is the one that XAMPP uses, but may be different, you have to confirm in XAMPP.

  • @Milk How do I set up shampoos to accept external connections?

  • 1

    Seeks the httpd.conf shaman, there has to be a line that says something Listen 80, I think xampp should already be configured to accept requests, but you can confirm. The server can have firewall? Control Panel > Firewall, if it is and is active, you need to set exceptions for port 80.

  • @Milk Yes appears Listen 80, and regarding the firewall, I’ve turned off, what do you think it might be?

  • 1

    There must be something ServerName localhost:80 in the httpd.conf, What value do you have? If it is localhost, switches to be the server IP, e.g. ServerName 192.168.10.10:80

  • THANKS!!!! I MANAGED TO SOLVE!! I tried to solve this a couple of weeks ago, it worked really thank you very much!

Show 1 more comment

1 answer

0


@Milk

There must be something ServerName localhost:80 in httpd.conf, what value do you have? If it is localhost, switches to be the server IP, e.g. ServerName 192.168.10.10:80

Browser other questions tagged

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