Ask your Question

PEOPLE YOU MIGHT KNOW

gourav
gourav

Moradabad,  India
Lonnie
Lonnie

Jacobus,  United States
Praveen
Praveen

Software Developer

NOIDA,  India
William
William

Web Developer

Elkhart,  United States
Vivek
Vivek

PHP Developer

Noida,  India

Write to us

Ask Question

How to setup xampp with multiple ports windows

Shailesh Kumar

1. go to xampp/apache/conf/httpd.conf and add below code
Listen 8080 // new listening port

2. go to  xampp/apache/conf/extra/httpd-vhosts.conf add below code:
 
    DocumentRoot "[drive path]:/xampp/htdocs/project name"
    ServerName 127.0.0.1:8080
   
        Options -Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
   

3. C:/Windows/System32/drivers/etc/hosts and add below line
127.0.0.1      127.0.0.1:8080 // host for [project name].
 

Shailesh Kumar

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site