This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error: Server port In Use (Help needed)

 
farhath farook
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 111
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
farhath farook
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Arif Ibrahim
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul I checked....there is no other process running in the server port
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic