permaculture playing cards*
The moose likes EJB and other Java EE Technologies and the fly likes Error: Server port In Use (Help needed) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error: Server port In Use (Help needed)" Watch "Error: Server port In Use (Help needed)" New topic
Author

Error: Server port In Use (Help needed)

farhath farook
Ranch Hand

Joined: Aug 01, 2007
Posts: 37
Hi,
I'm new to EJB and related technologies. I tried to run an EJB project using the WebSphere 6 and got the following error when i tried to start the server on the eclipse IDE.

Server port In Use 9080-Http

The sever is being already started manually on the command prompt.
Anybody having any idea of why this happens?

Thanks in advance...
palla sridhar
Ranch Hand

Joined: Oct 15, 2007
Posts: 111
Hi!
This is a very common error when you have more than 1 server or application listening on the same port. Find your configuration file for WebSphere, and change the port number from 9080 to a different port and re-start the server.



Thanks and Regards,
[url]www.techlikes.com[/url]
*Nothing is CONSTANT in life, except CHANGE*
farhath farook
Ranch Hand

Joined: Aug 01, 2007
Posts: 37
Originally posted by palla sridhar:
Hi!
This is a very common error when you have more than 1 server or application listening on the same port. Find your configuration file for WebSphere, and change the port number from 9080 to a different port and re-start the server.



hi
i tried to create a server instance with a different port using eclips.. but then also am getting an error. and the server doesn't get started
Arif Ibrahim
Greenhorn

Joined: Aug 01, 2008
Posts: 11
Hey even I am having same problem with Jboss and Tomcat when running it in Eclipse. Server run with run.bat file in same port without any problem but In eclipse it give problem "Server port in use-HTTP"
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

First step: find out what else is using the port. Depending on your operating system there are different ways to do this. In windows you can use netstat.
Second step: kill the process (assuming it is not important).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Arif Ibrahim
Greenhorn

Joined: Aug 01, 2008
Posts: 11
Paul I checked....there is no other process running in the server port
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error: Server port In Use (Help needed)