This problem can easily solve by changing the port number if Apache. Click on the Config button on the XAMPP Control panel that same row with the Apache service. It will show a menu and select the Apache (https.conf) and it will open the config file with notepad. Using find/search (Ctrl +F) to find port number 80 and change it to a free port and the port you prefer. In my example below i change it to 8088
Snippet for port 80.
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 8088
#
# Dynamic Shared Object (DSO) Support
And same goes to the secure port by choosing Apache (httpd-ssl.conf).
Snippet for SSL port number
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
Listen 4443
##
## SSL Global Context
After change your port number, restart the service and now you can access your site with provide the port number as below.
http://localhost:8088/testingSite/index.php
No comments:
Post a Comment