Wednesday, June 10, 2015

XAMPP, WAMP, Apache, Skype port blocking problems


PORT CONFLICT 

Ever faced  problems like applications not running or not getting installed?


Ever faced  problems like applications not running or not getting installed? For example,wamp or xampp not running giving an error “port in use” or skype or any other application not getting installed. It might be the case of  blocked port. This might happen when the port that the application requires already in use by some other application.
There are some applications like P2P apps, chat applications, Media Centres or other webservers like IIS, Apache that grabs port 80.  





Common Ports

FTP
21
SSH
22
Telnet
23
SMTP
25
DNS
53
HTTP
80
POP3
110
IMAP
143

   1.  Changing Xampp port -


A web server uses port 80 by default. To remove the conflicts, we need to change the port.



  
             a. Open XAMPP Control Panel and click on config button infront of Apache. Open the file httpd.conf file.


  
            b. If this file not shown here, go to C drive -> xampp -> apache -> conf -> httpd.conf




          c. You will be getting a file like this…



d. Now in this file, search for (ctrl +F) “Listen”



            e. On getting it, change this 80 port number.

 
            f. Next step under Apache, click the Config button again, but this time select the Apache (httpd-ssl.conf). Inside the httpd-ssl.conf file, find “listen 443”
 
             g. Now change this port also




Note: 

 2.   To change skype port number-


    a. Open skype ->tools -> options -> advanced -> connection




     b. Now, uncheck option  “use port 80 and 443 as alternatives for incoming connections”
         Restart the application. 


    3.Other methods-

You can sometimes also use traditional method, if you find skype and xampp or wamp conflicting -
Quit Skype -> Run Wamp -> Run Skype

No comments:

Post a Comment