java - Failed to Start Apache tomcat from eclipse juno in linux at port 80 -


at window platform have run tomcat eclipse juno. @ linux face problem

when run web project eclipse got error message, while command line can able run tomcat.

error message - port 80 required tomcat v7.0 server @ localhost in use. server may running in process, or system process may using port. start server need stop other process or change port number(s).

i check port using nmap , other command

the main point when run tomcat command line start, when start eclipse got error

first, check again whether port indeed in use. believe have apache web server (httpd) taking port.

second, on linux processes running under root user can use lower ports (under 100). when run tomcat command line run root (e.g. using sudo), when running eclipse running under user.

the solution is: development use other port. e.g 8080.

for production: use special user account (not root) run tomcat. e.g. user named tomcat. configure listen port 8080. run apache web server (httpd) under root user configured listen port 8080 , configured connected tomcat using mod_jk. secure , reliable commonly used configuration.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -