- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- to turn off httpd port/80
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 07:50 PM
06-28-2006 07:50 PM
to turn off httpd port/80
My hpux11.11 server and it was db server
I already comment out this port at /etc/services file. Run inetd -c
But still can connect to this port. How to solve it?
Thanks
Fauziah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 07:52 PM
06-28-2006 07:52 PM
Re: to turn off httpd port/80
Did you stop the process which listens on port 80 ? You should try to stop or kill it.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:01 PM
06-28-2006 08:01 PM
Re: to turn off httpd port/80
inetd is not used to run httpd server.
If you have an hp distribution:
/sbin/init.d/hpws_apache stop
vi /etc/rc.config.d/hpws_apacheconf
Change the startup variables from 1 to 0 (zero)
This second step stops auto start of the HP apache server.
The procedure is similar for other depot based versions of apache but the name hpws_apache may be apache or something else.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:01 PM
06-28-2006 08:01 PM
Re: to turn off httpd port/80
/etc/services is just the lookup table where you map the port numbers to short service name which describes the service when you use netstat.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:07 PM
06-28-2006 08:07 PM
Re: to turn off httpd port/80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:07 PM
06-28-2006 08:07 PM
Re: to turn off httpd port/80
I means How to grep which applications is using port 80?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:08 PM
06-28-2006 08:08 PM
Re: to turn off httpd port/80
If apache is running, you can stop by
# apachectl stop
or # ps -ef |grep -i httpd
# kill PID
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:11 PM
06-28-2006 08:11 PM
Re: to turn off httpd port/80
Have you stopped both the entry in /etc/services, but putting # and inetd -c
--------
http 80/tcp www # World Wide Web HTTP
http 80/udp www # World Wide Web HTTP
-----------
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:15 PM
06-28-2006 08:15 PM
Re: to turn off httpd port/80
Thanks for reply.
Agree to stop the apache since I did not use it. But where to set the service for not startup. I can't find the etc/rc.config.d/hpws_apacheconf
file?
Fauziah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:24 PM
06-28-2006 08:24 PM
Re: to turn off httpd port/80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:29 PM
06-28-2006 08:29 PM
Re: to turn off httpd port/80
Its not mandatory to have a file in /etc/rc.config.d - It depends on what software you have installed and how you have installed.
You may have apache as part of Oracle developer whatever version, you may have seperately installed apache server etc etc.
So you must know how the httpd service is started ? Is it started manually through starting apachectl ? Or is it part of any startup scripts in /sbin/init.d ? - grep apache /sbin/init.d/*
Then you can disable it permanantly by removing from init.d , or if its started manually by just stoppiong using apachectl stop once and not starting it anytime again.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:39 PM
06-28-2006 08:39 PM
Re: to turn off httpd port/80
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 09:14 PM
06-28-2006 09:14 PM
Re: to turn off httpd port/80
/opt/apache/bin using apachectl stop.
The go to /etc/rc.config.d/apacheconf
set the apache start=0
Thanks all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2006 12:02 AM
06-30-2006 12:02 AM
Re: to turn off httpd port/80
Matthew from Boston