Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » Tomcat Error(Eclipse complains about wrong http port)
Tomcat Error [message #1819001] Sat, 04 January 2020 13:44 Go to next message
Bruno Gontijo is currently offline Bruno GontijoFriend
Messages: 1
Registered: January 2020
Junior Member
Hi there,

I have Tomcat 9 running on localhost:8080. It shows the tomcat default page on the browser, which means it's up and running.

I also have the tomcat port configured as 8080 in the eclipse properties

(See attached screenshots)

When I run the application, i get the following error:

"The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports."

Any clues on how to fix this?

thanks in advance
Bruno
Re: Tomcat Error [message #1819187 is a reply to message #1819001] Thu, 09 January 2020 16:22 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 860
Registered: July 2009
Location: Grenoble, France
Senior Member

You should probably ask this to another forum, like https://www.eclipse.org/forums/index.php/f/251/ or https://www.eclipse.org/forums/index.php/f/88/
Re: Tomcat Error [message #1826047 is a reply to message #1819001] Fri, 17 April 2020 15:35 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4165
Registered: July 2009
Senior Member

Running Tomcat or a web-app from Eclipse is done by launching a new instance of Tomcat, configured the way you've set it up in the Servers view. The message you're seeing is correct, as both your installed and launched instance can not both listen on the same port at the same time. You'll have to change one of them.

Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Fri, 17 April 2020 15:35]

Report message to a moderator

Re: Tomcat Error [message #1833169 is a reply to message #1826047] Mon, 05 October 2020 11:08 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 84
Registered: September 2020
Member
See this
https://stackoverflow.com/questions/59471438/cant-start-tomcatv9-0-in-eclipse
Previous Topic:Eclipse IDE for Java EE Developers ISSUE
Next Topic:a beginner to use Eclipse - building project issue
Goto Forum:
  


Current Time: Sun Jan 23 00:33:03 GMT 2022

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

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

Back to the top