Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Tomcat refuses using port 8080
Tomcat refuses using port 8080 [message #101805] Tue, 10 May 2005 02:58 Go to next message
Eclipse UserFriend
Originally posted by: doanphihai.yahoo.com

Hi I created a Web App with Eclipse3.1M6, WTP-M4, Tomcat5.5.4, JDK1.4.8_02
and when I started this webapp I got this problem

Several ports (8080, 8009) required by Tomcat v5.5 Server @ localhost are
already in use. The server may already be running in another process, or a
system process may be using the port. To start this server you will need
to stop the other process or change the port number(s).

I make sure there isn't any Tomcat server is running. Any idea for this?
Re: Tomcat refuses using port 8080 [message #101818 is a reply to message #101805] Tue, 10 May 2005 03:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hapy710.yahoo.com.cn

Perhaps the ports were used by other services.




"HaiDoan" <doanphihai@yahoo.com> д
Re: Tomcat refuses using port 8080 [message #101827 is a reply to message #101818] Tue, 10 May 2005 03:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: doanphihai.yahoo.com

I run netstat in command line to check it, but it's not occupied
Re: Tomcat refuses using port 8080 [message #101852 is a reply to message #101827] Tue, 10 May 2005 04:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: doanphihai.yahoo.com

May be this makes problem clearly.
I used to work in a project in EclipseM5a and WtpM3, then I upgraded to
EclipseM6 and WtpM4 and opened that project. At fist it worked fine, but
two days after, it took this problem. Until now I can not use eclipse to
launch tomcat anymore
Re: Tomcat refuses using port 8080 [message #101873 is a reply to message #101852] Tue, 10 May 2005 07:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: doanphihai.yahoo.com

In the meantime I can do nothing with WTP, I restart machine, then
reinstall Eclipse and WTP, create a simple web-app, and I stuck again.
What happen in my PC?
Re: Tomcat refuses using port 8080 [message #101927 is a reply to message #101873] Tue, 10 May 2005 13:21 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
You could try putting a '1' in front of all the port numbers in the
Tomcat configuration to switch it to alternate ports. If this works,
switch them back one by one to determine which ones conflict. If they
all conflict, I would guess you might have Tomcat running as a service.

Larry

HaiDoan wrote:
> In the meantime I can do nothing with WTP, I restart machine, then
> reinstall Eclipse and WTP, create a simple web-app, and I stuck again.
> What happen in my PC?
>
Re: Tomcat refuses using port 8080 [message #102217 is a reply to message #101827] Wed, 11 May 2005 02:49 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

HaiDoan wrote:
> I run netstat in command line to check it, but it's not occupied

What about port scanning your machine instead? netstat only reports
active connections, and it's more likely you have a server just
listening on one of those ports and not actually servicing a request
at the moment.

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Tomcat refuses using port 8080 [message #102333 is a reply to message #101927] Wed, 11 May 2005 09:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: doanphihai.yahoo.com

Hi Larry
that's nice solution, I can start Tomcat, but I can not lauch url:
http://localhost:8080, Have you ever see this bug before?

--P.H

Larry Isaacs wrote:

> You could try putting a '1' in front of all the port numbers in the
> Tomcat configuration to switch it to alternate ports. If this works,
> switch them back one by one to determine which ones conflict. If they
> all conflict, I would guess you might have Tomcat running as a service.

> Larry

> HaiDoan wrote:
>> In the meantime I can do nothing with WTP, I restart machine, then
>> reinstall Eclipse and WTP, create a simple web-app, and I stuck again.
>> What happen in my PC?
>>You could try putting a '1' in front of all the port numbers in the Tomcat
configuration to switch it to alternate ports. If this works, switch them
back one by one to determine which ones conflict. If they all conflict, I
would guess you might have Tomcat running as a service.

Larry

HaiDoan wrote:

In the meantime I can do nothing with WTP, I restart machine, then
reinstall Eclipse and WTP, create a simple web-app, and I stuck again.
What happen in my PC?
Re: Tomcat refuses using port 8080 [message #102375 is a reply to message #102333] Wed, 11 May 2005 12:42 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
The port number in the URL should change as well, possibly to
http://localhost:18080. It must match the HTTP port of the Tomcat you
are running.

Did you try switching the ports back individually to see which have
conflicts?

Larry

HaiDoan wrote:
> Hi Larry
> that's nice solution, I can start Tomcat, but I can not lauch url:
> http://localhost:8080, Have you ever see this bug before?
>
> --P.H
>
> Larry Isaacs wrote:
>
>> You could try putting a '1' in front of all the port numbers in the
>> Tomcat configuration to switch it to alternate ports. If this works,
>> switch them back one by one to determine which ones conflict. If they
>> all conflict, I would guess you might have Tomcat running as a service.
>
>
>> Larry
>
>
>> HaiDoan wrote:
>>
>>> In the meantime I can do nothing with WTP, I restart machine, then
>>> reinstall Eclipse and WTP, create a simple web-app, and I stuck
>>> again. What happen in my PC?
>>> You could try putting a '1' in front of all the port numbers in the
>>> Tomcat
>
> configuration to switch it to alternate ports. If this works, switch
> them back one by one to determine which ones conflict. If they all
> conflict, I would guess you might have Tomcat running as a service.
>
> Larry
>
> HaiDoan wrote:
>
> In the meantime I can do nothing with WTP, I restart machine, then
> reinstall Eclipse and WTP, create a simple web-app, and I stuck again.
> What happen in my PC?
>
>
>
Previous Topic:OperationDesc for add was not synchronized .....
Next Topic:Obsolete method on the stack
Goto Forum:
  


Current Time: Sat Apr 27 00:25:20 GMT 2024

Powered by FUDForum. Page generated in 0.03391 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top