Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Difference between http://localhost and http://localhost:8080

 
pioneer
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I just wanted to know the difference between http://localhost and http://localhost:8080.

Thank you.

Green horn
 
pollinator
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without a port number the request will go to port 80 (which is the default port for HTTP). So http://localhost/ is the same as http://localhost:80/
 
Philip Zac
pioneer
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for a quick reply....

Another doubt.... what is the difference btw http and httpd??

Sorry to disturb you. But my mind is irritating for an answer...

thank again..

Green horn..
 
Ulf Dittmer
pollinator
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP is a protocol (http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol), while httpd is the name of the most widely used web server (its full name being Apache httpd: http://httpd.apache.org/).

Maybe you're thinking of HTTPS (which is an encrypted version of HTTP), not httpd?
 
Philip Zac
pioneer
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the help.

Green horn
 
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!