Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

387
Visualizações
I can't access my WAMP 3.2.3 project from other devices

I have developed a website with a complete different virtual host in WAMP v 3.2.3 it's running well on my local machine(localhost) but the problem lies with it's access over the LAN.I have changed its apache httpd-vhosts.conf file from

# Virtual Hosts
#
<VirtualHost *:80>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "${INSTALL_DIR}/www"
  <Directory "${INSTALL_DIR}/www/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
  </Directory>
</VirtualHost>

#                     
<VirtualHost *:80>    //My required Virtual Host
    ServerName test
    DocumentRoot "c:/wamp64/www/project1/test/sites/">"
    <Directory  "c:/wamp64/www/project1/test/sites/">">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require Local
    </Directory>
</VirtualHost>

to:

 # Virtual Hosts
    #
    <VirtualHost *:80>
      ServerName localhost
      ServerAlias localhost
      DocumentRoot "${INSTALL_DIR}/www"
      <Directory "${INSTALL_DIR}/www/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require local
      </Directory>
    </VirtualHost>
    
    #                     
    <VirtualHost *:80>    //My required Virtual Host
        ServerName test
        DocumentRoot "c:/wamp64/www/project1/test/sites/">
        <Directory  "c:/wamp64/www/project1/test/sites/">
            Options +Indexes +Includes +FollowSymLinks +MultiViews
            AllowOverride All
            Require all granted    //         <--change(Local to all granted)
                   
        </Directory>
    </VirtualHost>

and allowed incoming inbound connection from port 80

Still the problem persists and I cannot access my project from any other device. It shows:

Forbidden
You don't have permission to access this resource
Apache/2.4.46 (Win64)PHP/7.3.21 Server at 192.168.43.*

Where'the problem? Please help.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

you don't need to hide your local IPv4 address 192.168.43.*, there are millions of devices around the world with same IPv4 address as you, people outside of your local network can not communicate with your local IP address just by knowing your IPv4 address, it is not possible.

You appear to have multiple virtual hosts set up for port 80. You only need one for local hosting.

Make sure that the firewall on your server computer is configured to let apache through.

Put whatever files you want to server inside the 'www' folder on your server computer.

Use the below config settings and restart apache so that the new config is loaded.

Open a web browser on any device that is connected to the same local network as your server computer i.e. mobile phone connected by wifi to the same router as your server computer.

Type in the server computer IPv4 address into the browser of your mobile phone, done...

 <VirtualHost *:80>

      DocumentRoot ${INSTALL_DIR}/www

      <Directory ${INSTALL_DIR}/www>
        Require all granted
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
      </Directory>

    </VirtualHost>
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda