Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » newbie question: how to find who's using a port?
newbie question: how to find who's using a port? [message #192730] Thu, 17 May 2007 19:02 Go to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060303030401030102050301
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

So, there is one tutorial to help newbies get started on web-tools,
http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html, which
looks pretty good, but has a bunch of instructions and screen shots that are either wrong or out of
date. Still, I have created the little "snoop servlet" and so on, I think correctly -- but when I go
to run the server, I get the attached cryptic and useless-to-me error dialog -- ports 8005, 8080,
and 8009 are in use. Any idea what I can do here? (I simply have no clue how to work out who's using
those ports.)

thanks,
Paul

--------------060303030401030102050301
Content-Type: image/png;
name="PortsInUse.PNG"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="PortsInUse.PNG"

iVBORw0KGgoAAAANSUhEUgAAAbsAAAC3CAIAAAAEvmeGAAAAAXNSR0IArs4c 6QAAAARnQU1B
AACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgA ABdwnLpRPAAA
KFtJREFUeF7tnQeYFEXax7tn2WVJC8ohwYSKAQQJZlBBOVQEgTsV5VABUVSS khGQHJSclawk
RRGQLAiSRZAgIgoGwPNQPL37Pu8z3Bn6e2fqbMuq7urqnunZ6eU/Tz379HRX vV31r7d+9XZ3
9ax5cP9OAx8oAAWgABTwUqDj470NIqaFDxSAAlAACigVGDhwYL169f5LTOIm EhSAAlAACrgp
AGJikoACUAAK6CrgQMyildonk4pd2IFS8Ys6UipxMaVOlPIu6ZRXuTOlkpU7 l6ryWKlL4+m0
Sx8/rWo8nV6tS2lKl3Wl9IfqlLpRKlOj2xk1usdTze5la/UoV6tnPF3es/wV vViqcG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eCREfHzZ6XpXb+OPR5sbETGAlf8/EE8f/nfZ4vTzLIEMUFeDfkoxc dBZFweU6Z1qM
yT+lEUJC+ekN28M/+bH3sP32Xz4nL4Lb8iP1sqS0dT1iTMSYBSHGTNuACfVE mR9j8sFmqFJk
rHEQE8SM/H3MjB1dwSqW4TGmYlVQsPZGqxSICWLit4sy6/eZMpCY0YJaqLUF MUFMXJVnlg+A
mKEiL0njIGZmjZYkuzP54uzJD/+gE9vpVwD/tSJ5Tw7JAogJYooxJg1XfPJd AXmhAmay9E9d
jmfE//kBNH9TwP7ZNGzkuwJClJTvEEcFbAU8A1isxwRVoQAUgAK6CoCYukp5 Tj7IAAWgQIFX
AMQEMaEAFIACugqAmLpKFfjJEw2EAlDAUwEQE8SEAlAACugqAGLqKuU5+SAD FIACBV4BEBPE
hAJQAAroKgBi6ipV4CdPNBAKQAFPBUBMEBMKQAEooKsAiKmrlOfkgwxQAAoU eAVATBATCkAB
KKCrAIipq1SBnzzRQCgABTwVADFBTCgABaCArgIgpq5SnpMPMkABKFDgFQAx QUwoAAWggK4C
IKauUgV+8kQDoQAU8FQAxAQxoQAUgAK6CoCYukp5Tj7IAAWgQIFX4DdiZsi/ 2kA1oAAUgAKZ
rED839vhH31AASgABaCApgL/Dx7spJ9tS7ykAAAAAElFTkSuQmCC
--------------060303030401030102050301--
Re: newbie question: how to find who's using a port? [message #192745 is a reply to message #192730] Thu, 17 May 2007 20:54 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
For Windows, open a DOS console and execute "netstat -abno". I'm
guessing the equivalent on *nix would be "netstat -anp".

Assuming you are on Windows, did you install Tomcat via the exe and
installed Tomcat as a service, and is that service is currently running?
If so, you can change the ports that the Eclipse Tomcat server will
use by double-clicking on the Tomcat server in the Servers view. In the
editor that opens, change the port numbers in the Ports section to
non-conflicting values that aren't in use by some other program.
Changing the first digit to '9' for each of the ports might be a good
first shot.

Cheers,
Larry

Paul Keyser wrote:
> So, there is one tutorial to help newbies get started on web-tools,
> http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html,
> which looks pretty good, but has a bunch of instructions and screen
> shots that are either wrong or out of date. Still, I have created the
> little "snoop servlet" and so on, I think correctly -- but when I go to
> run the server, I get the attached cryptic and useless-to-me error
> dialog -- ports 8005, 8080, and 8009 are in use. Any idea what I can do
> here? (I simply have no clue how to work out who's using those ports.)
>
> thanks,
> Paul
>
> ------------------------------------------------------------ ------------
>
Re: newbie question: how to find who's using a port? [message #192778 is a reply to message #192745] Fri, 18 May 2007 13:33 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Larry --

thanks -- most useful! & right, I'm on WinDoze (no-one could be this much of a newbie about servers
etc. and have worked much on *nix, eh? :)

Tomcat)
yes, installed from the exe. BTW -- what is the relation b/w Eclipse's Tomcat and the one I
installed? (Very puzzling to me -- should the one I installed be running or not? Does Eclipse copy
it, or somehow multithread it?)

netstat)
cool, useful, showed huge aounts of stuff going on; here's just the part relevant to tomcat and
javaw (Eclipse); no-one else now seems to have 8005, 8009, or 8080:

TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 4124
[tomcat5.exe]

TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4124
[tomcat5.exe]

TCP 0.0.0.0:8097 0.0.0.0:0 LISTENING 2500
[TaskPanl.exe]

TCP 0.0.0.0:18009 0.0.0.0:0 LISTENING 1576
[javaw.exe]

TCP 0.0.0.0:18080 0.0.0.0:0 LISTENING 1576
[javaw.exe]

TCP 9.67.139.173:139 0.0.0.0:0 LISTENING 4
[System]

TCP 24.199.71.191:139 0.0.0.0:0 LISTENING 4
[System]

TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 4124
[tomcat5.exe]

TCP 127.0.0.1:18005 0.0.0.0:0 LISTENING 1576
[javaw.exe]

you'll see I have changed the ports specified by Eclipse (in the Server View) -- now instead of
"port busy" when I try to point a browser at the alleged WTP hello world, I get a 404:
type Status report

message /tutorial/snoop

description The requested resource (/tutorial/snoop) is not available.

So that's a different thread, but I expect I'm just hosed there since the tutorial is several years
old, the author is no longer at his email address, and no-one seems to have any interest in or
knowledge of how to make it work. Least of all me!

thanks,
Paul
Re: newbie question: how to find who's using a port? [message #192785 is a reply to message #192778] Fri, 18 May 2007 15:00 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
For info on the Tomcat support in WTP, you can now refer to this Tomcat
FAQ on the Web Tools web site:

http://www.eclipse.org/webtools/faq/TomcatServerFAQ.html

Hopefully, it will make it clear how it is able to successfully use your
installed Tomcat without interfering with it.

As for the 404 error, it can happen for a lot of reasons. There isn't
enough info to make anything more than a simple guess. If you copy and
pasted the "http://localhost:8080/tutorial/snoop" URL provided in the
tutorial, it's going to hit your Tomcat service. Since that server
isn't the one running the tutorial webapp, a 404 error would be the
expected response. You would need to update the port in that URL to
18080 for it to work.

Cheers,
Larry

Paul Keyser wrote:
> Larry --
>
> thanks -- most useful! & right, I'm on WinDoze (no-one could be this
> much of a newbie about servers etc. and have worked much on *nix, eh? :)
>
> Tomcat)
> yes, installed from the exe. BTW -- what is the relation b/w Eclipse's
> Tomcat and the one I installed? (Very puzzling to me -- should the one I
> installed be running or not? Does Eclipse copy it, or somehow
> multithread it?)
>
> netstat)
> cool, useful, showed huge aounts of stuff going on; here's just the part
> relevant to tomcat and javaw (Eclipse); no-one else now seems to have
> 8005, 8009, or 8080:
>
> TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 4124
> [tomcat5.exe]
>
> TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4124
> [tomcat5.exe]
>
> TCP 0.0.0.0:8097 0.0.0.0:0 LISTENING 2500
> [TaskPanl.exe]
>
> TCP 0.0.0.0:18009 0.0.0.0:0 LISTENING 1576
> [javaw.exe]
>
> TCP 0.0.0.0:18080 0.0.0.0:0 LISTENING 1576
> [javaw.exe]
>
> TCP 9.67.139.173:139 0.0.0.0:0 LISTENING 4
> [System]
>
> TCP 24.199.71.191:139 0.0.0.0:0 LISTENING 4
> [System]
>
> TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 4124
> [tomcat5.exe]
>
> TCP 127.0.0.1:18005 0.0.0.0:0 LISTENING 1576
> [javaw.exe]
>
> you'll see I have changed the ports specified by Eclipse (in the Server
> View) -- now instead of "port busy" when I try to point a browser at the
> alleged WTP hello world, I get a 404:
> type Status report
>
> message /tutorial/snoop
>
> description The requested resource (/tutorial/snoop) is not available.
>
> So that's a different thread, but I expect I'm just hosed there since
> the tutorial is several years old, the author is no longer at his email
> address, and no-one seems to have any interest in or knowledge of how to
> make it work. Least of all me!
>
> thanks,
> Paul
Re: newbie question: how to find who's using a port? [message #192821 is a reply to message #192785] Fri, 18 May 2007 19:00 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
That FAQ looks to be useful, thanks.

Apparently the WTP wants me to *either* start the server (right-click in Servers View on the server
item, Run ...) *or* start the "Web Content" in the Project Explorer -> right click, Run... (If I
start the server first then try to start the Web Content, I am told ports 18080, 18005, and 8009 are
in use. If I stop the server, then start the Web Content, Eclipse flips to the Server view and tells
me that that server is starting. Have I interpreted that data correctly?

I did also think to try with "18080" as the port; same problem. Just tried it again, and had the
same problem. The netstats confirms that tomcat5.exe is using 8080, 8005, 8009, whereas javaw.exe is
using 18080, 18005, 18009. But, oddly, there is now also this:

TCP 9.67.139.173:4585 9.2.251.35:139 TIME_WAIT 0
TCP 127.0.0.1:8080 127.0.0.1:4583 TIME_WAIT 0
TCP 127.0.0.1:18080 127.0.0.1:4584 TIME_WAIT 0
UDP 0.0.0.0:445 *:* 4
[System]

Huh? (All very mysterious to me ...)

thanks,
Paul
Re: newbie question: how to find who's using a port? [message #192860 is a reply to message #192821] Fri, 18 May 2007 20:22 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
If the Servers view shows the Tomcat server stopped and the 18xxx ports
are still in use (TIME_WAIT also indicates "in use" but I forget exactly
what it means), it would appear that you have an orphaned Tomcat
process. You can use Task Manager to kill that javaw.exe process. That
will be necessary before you can start the server in Eclipse. I can't
say how it got orphaned. I know crashing out of Eclipse with the server
running can do it. Also, Tomcat under the right conditions can be
stubborn about not fully exiting when asked to shutdown.

Cheers,
Larry

Paul Keyser wrote:
> That FAQ looks to be useful, thanks.
>
> Apparently the WTP wants me to *either* start the server (right-click in
> Servers View on the server item, Run ...) *or* start the "Web Content"
> in the Project Explorer -> right click, Run... (If I start the server
> first then try to start the Web Content, I am told ports 18080, 18005,
> and 8009 are in use. If I stop the server, then start the Web Content,
> Eclipse flips to the Server view and tells me that that server is
> starting. Have I interpreted that data correctly?
>
> I did also think to try with "18080" as the port; same problem. Just
> tried it again, and had the same problem. The netstats confirms that
> tomcat5.exe is using 8080, 8005, 8009, whereas javaw.exe is using 18080,
> 18005, 18009. But, oddly, there is now also this:
>
> TCP 9.67.139.173:4585 9.2.251.35:139 TIME_WAIT 0
> TCP 127.0.0.1:8080 127.0.0.1:4583 TIME_WAIT 0
> TCP 127.0.0.1:18080 127.0.0.1:4584 TIME_WAIT 0
> UDP 0.0.0.0:445 *:* 4
> [System]
>
> Huh? (All very mysterious to me ...)
>
> thanks,
> Paul
Previous Topic:Warning message about ClassNotFoundException in a new web project
Next Topic:Broken JSP: Wrong JDT version?
Goto Forum:
  


Current Time: Tue Apr 16 07:26:55 GMT 2024

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

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

Back to the top