Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am getting an error in hMailServer log that some other application is using the ports 25 and 110 please make sure that they are disabled How to find which application is using these port?

share|improve this question
    
Please use appropriate tags when posting questions. It helps others to provide suitable answers. –  John Gardeniers Sep 23 '11 at 8:30

2 Answers 2

up vote 1 down vote accepted
netstat -nao | findstr ":25\> :110\>"
  • \> means the end of word
share|improve this answer
    
It's far from obvious from the question but as it's running hMailServer it must be a Windows machine. –  John Gardeniers Sep 23 '11 at 8:28
    
Oh, sorry. I've converted to Windows syntax. –  quanta Sep 23 '11 at 8:52

From a command prompt, type netstat -anb

This will show you all the ports open on your machine, along with the PID (process id) that has them open.

Look for port 25 and 110 and the PID. Then open Task Manager and find the PID, and you'll find the process name that has them open.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.