[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Windwos: who is blocking the ports...  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

(from mail conversation)

Symptom: one of the tomcats that are used with the CaptainCasa default installation does not start up.

Code:
 ...
     Caused by: java.net.BindException: Address already in use: bind
 ...
 


The default port for the tool's server is 51000, the one for the demo server and the one that you deploy your application to: 50000.

So how to find out, who is accessing? In Windows:

Code:
 netstat -ano
 ==> list of processes + their port usage
 
 netstat -ano | find "51000" 
 ==> now filtered by the ones accessing port 51000
 


From the list you get the process id. With this one you can go into the Windows task manager and e.g. get details about.

Rough info is available from the command shell via:

Code:
 tasklist
 ==> list of processes
 
 tasklist | find "4711"
 ==> process with process id 4711
 

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team