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.

Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote

Sorry, only registered users may post in this forum.