Virtual Host not working
Posted by: jeabramian (
Date: June 13, 2022 11:53PM

Hello All!

I have the following problem: when I browse to localhost the wampserver page displays correctly. I created two virtual hosts, but when I try their names or localhost/virtual_host_folder_name, the result is a "page rejected connection".

I have:
Windows 10
Wampserver 3.2.6
Php 7.4.26
Apache 2.4.51
mysql 5.7.36
Wampserver icon is green
No maria

The php log says:

"2022-06-13T18:42:57.697280Z 0 [ERROR] Can't start server: Bind on TCP/IP port: No such file or directory
2022-06-13T18:42:57.698258Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2022-06-13T18:42:57.699075Z 0 [ERROR] Aborting"

I disabled antivirus and defender
I have access to phpmyadmin
The physical address of the localhost is e:/wamp64/www

I will appreciate the help very much!


Options: ReplyQuote
Re: Virtual Host not working
Posted by: Otomatic (Moderator)
Date: June 14, 2022 09:35AM


> Do you already have another mysqld server running on port: 3306 ?
What is the result of :
Right-Click -> Tools -> Test port 3306

You have a MySQL version in addition to Wampserver and/or a my.ini file somewhere other than e:/wamp64/bin/mysql/mysql5.7.36/my.ini

Please :
- 1 - Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
Do not use a previously loaded tool. Make a new download to make sure you are using the correct version.
To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

- 2 - Apply Update 3.2.9 to your version of Wampserver
Wampserver update 3.2.9

- 3 - After launching Wampserver
Right-click -> Tools -> Create Wampserver configuration report
Wait for the end
Right-click -> Tools -> Wampserver configuration report
Copy the content here.

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote

Sorry, only registered users may post in this forum.