Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • 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
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
  • Carey Brown
  • salvin francis
  • Claude Moore

8080 port  RSS feed

Ranch Hand
Posts: 1327
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?
Saloon Keeper
Posts: 20643
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • 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.
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!