2
I'm trying to run Tomcat on port 8080 using cargo, but it gives the message:
org.codehaus.cargo.container.ContainerException: Port number 8080 (defined with the property cargo.servlet.port) is in use. Please free it on the system or set it to a different port in the container configuration.
When I telnet
to localhost on 8080, it connects.
But, when I sudo lsof -n | grep 8080
, I see nothing. No luck with netstat
either.
What could be the problem?
Yes, I know I can use a different port--that's not the question I'm asking. – Eddified – 2014-09-12T20:33:09.447
I already looked at the likes of : http://stackoverflow.com/questions/5310945/deployment-errorstarting-of-tomcat-failed-the-server-port-8080-is-already-in-u -- nothing I've found helps resolve the issue.
– Eddified – 2014-09-12T20:37:13.987What gives you the idea we would know what software you are running that uses port 8080? If anyone would know or be able to find out, it would be you. Listing any possible software that could be the case is outside of the scope of this site though. – LPChip – 2014-09-12T20:48:09.083
1
lsof
uses service names (http, ssh, ftp, webcache) by default when available and not port numbers. Add a-P
to have it use port numbers,sudo lsof -n -P | grep :8080
. – Brian – 2014-09-13T02:45:59.207@LPChip, let's try solving the problem rather than berating the questioner. – music2myear – 2014-09-16T20:18:14.440