503 - Service Unavailable - How come Tomcat will not start ...

文章推薦指數: 80 %
投票人數:10人

Tomcat will not start and complains that port 8080 is already in use. When accessing the site via a web browser you get a '503 - Service Unavailable' error. TogglenavigationCommunityBlogContactLogInSearchFrequentlyAskedQuestionsGeneralAWSGoogleCloudPlatformMicrosoftAzureSoftLayerVMwareFlexeraCMPAPIsSeetheAPIreferencedocumentationforallofourproducts.CloudComparisonComparepubliccloudsbasedonthefeaturestheyoffer.FeedbackGetintouchandwe’llgetbacktoyouassoonaswecan.ReleaseNotesSeethenotesforthelatestreleasesofeachapplicationandwhat’schanged.FlexeraCMPDocs/RightScaleGeneralFAQs503-ServiceUnavailable-HowcomeTomcatwillnotstartanditcomplainsthatport8080isalreadyinuse?BackgroundInformation Tomcatwillnotstartandcomplainsthatport8080isalreadyinuse.Whenaccessingthesiteviaawebbrowseryougeta'503-ServiceUnavailable'error. Answer BesurethattheAPP_SERVER_PORTinputvariableonyourtemplateissetto8000(thedefault)andnot8080.Tomcatusesport8080,buttheAPP_SERVER_PORTistheportthatHAPROXYforwardstraffictoandshouldbesetto8000.



請為這篇文章評分?