• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

8080 port  RSS feed

Ranch Hand
Posts: 1262
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using Eclipse Version: Oxygen.2 Release (4.7.2) with Tomcat 8.0.36. My application is built with Spring when I run it by run-> Spring Boot app. I get the nextg message;

Then from dmc command line I kill the port 8080 restart the server and run the app, but I still get the same error...

Any idea, please?
Posts: 20125
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your Spring Boot application has an embedded copy of Tomcat inside it and that copy of Tomcat by default would listen on port 8080.

But one and only one application can use a given TCP/IP port in a single OS instance. That's a fundamental limitation of TCP/IP networking.

It's likely that you've already got a standalone Tomcat running or that you launched a copy of Tomcat from Eclipse and that app grabbed port 8080, denying it to the Tomcat instance inside your Spring Boot app.

Port 8080 is also used by other webapp servers, and they, too can hog that port if you're running one of them.
mooooooo ..... tiny ad ....
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!