![]() ![]() Hello, tutorial shows you, how to change port 80, and 443 in Xampp Server If you go in Xampp control panel and open config service and port settings here you can find default apache ports Main port 80 and SSL Port 443 the HTTP works on Port Number 80 (HTTP) Hypertext Transfer Protocol is Unsecured information exchange protocol the HTTPS works on Port Number 443 (HTTPS) Hypertext Transfer Protocol Secure is Secured information exchange protocol HTTP and HTTPS are protocols being used to transport information over the internet So, when you type http in your browser, by default it uses port 80 and if you type https, by default browser use port 443 So, let’s change default ports I want to change main port 80 to 8081 and SSL port 443 to 8090 But before changing the default ports, make sure that it is not used by another application You can check this using the XAMPP control panel by clicking Netstat OR open Task Manager, and go to Performance tab Open Resource Monitor Go to Network tab Open the "Listening Ports" sidebar Sort the ports from port section and check your chosen ports As you see port 80 are not used So apache use port 80 and 443 And MySQL uses port 3306 So here you can easily check which application is using which port Ok, let's change ports Stop Xampp server open nf file with notepad press Control+F to open search box Search for Listen And replace port 80, on my example with 8081 Search for ServerName And replace port 80 with 8081 Save the file Ok, now let’s change SSL Port 443 Open nf file with notepad Search for Listen And replace port 443, on my example with 8090 Search for ServerName And replace port 443 with 8090 Also replace port 443 with 8090 for Virtual Host Save the file If you are using Virtual hosts, you should change ports in httpd-vhosts. ![]()
0 Comments
Leave a Reply. |