Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Building Blockchain Apps 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

changing the port number

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed the port number where the Apache server listens to requests.

(default) " Listen : 80 ",
and I changed it as " Listen : 8080 "

But still Apache listens on port 80 only. Why is it so ? Do I need to restart the computer for change to be affective ? If not, then why is change not working ?

thanks
 
Bartender
Posts: 4106
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

jignesh soni wrote:
Do I need to restart the computer for change to be affective ?



Yes. You should.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about the Apache Web Server
or
Apache Tomcat?

They're two completely different products.
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vijitha: You´re wrong. You don´t need to restart the computer for that. That´s way too drastic. Just restart the server instance.

Ben: Looking at the setting name "Listen" and the default port number of 80, he´s talking about Apache HTTP Server.
 
Vijitha Kumara
Bartender
Posts: 4106
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bauke Scholtz wrote:Vijitha: You´re wrong. You don´t need to restart the computer for that. That´s way too drastic. Just restart the server instance.



Ooops. Sorry. Yes I mean the server instance though I didn't notice the "computer" part.
 
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with 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!