V
V
Valentine2015-05-05 11:36:10
Apache HTTP Server
Valentine, 2015-05-05 11:36:10

Why does Apache take a long time to respond to remote requests?

Before, everything was fine, now Apache takes a very long time to respond to requests for PHP scripts (HTML returns quickly). Pages load in 1-2 minutes.
The server runs in a vagrant (virtualbox). I tried to access the site through lynx in a virtual machine, everything works quickly, i.e. The problem is only when connecting remotely.
Port forwarded from VM:

config.vm.network "forwarded_port", guest: 80, host: 4567

I tried to raise a new virtual machine, it did not help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentine, 2015-05-06
@gephaest

I solved the problem by setting a static IP
docs.vagrantup.com/v2/networking/private_network.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question