Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

iam getting portno error ,kindly any one can help me to
sovle this issue plz?Several ports (8005, 8009) required by
Tomcat v6.0 Server at 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).
this kind of error iam geeting even i change port Nos
also?

Answer Posted / dilip

Hi,

*Your question is not specific. First of all you have to
check with the "netstat" command to check whether that port
is used by some other process and make sure it is not listen
to any process.
*Also you can check with the "nmap localhost" command to
check it is used by any of tomcat instance.
*Then if you change the port number and restart the instance.
*Then check the tomcat process is running for the
particular instance. use the command "ps -ef | grep tomcat"
* If still it is not started, Eventough your instance shows
up with some PID, which means that your previous process
is not completely killed .

So The solution for this problem is " you have to Delete
the file tomcat.pid in your CATALINA_BASE/logs/ directory.
Now restart the server.

Your instance will work without any issue.



-Dilip (OOTY)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why webserver is used?

190


How does tomcat server work?

180


Is apache an application server?

173


When do I use? And when do I use?

208


How does apache tomcat work?

201






How would you set up tomcat for remote debugging?

191


Is apache tomcat freeware?

160


What is the function of listen in apache tomcat?

213


What according to you is a tomcat cluster?

210


Explain when to use ssl with tomcat?

225


How to make sure the net server is getting began after server reboot?

204


Mention with how many valves does tomcat configured with?

229


Why do we need web server?

177


Where do I put war file in tomcat 8?

176


Is weblogic better than tomcat?

182