Solved

HTTP server : how to change the default port from 7777 -to- 80

Posted on 2014-11-23
4
807 Views
Last Modified: 2014-11-27
please advice steps how to change the default port  from-7777 -to- 80.

my  home page of the server URL is

http://hostname:7777/index.html

would like this to be

http://hostname:80/index.html

please advice
0
Comment
Question by:mac_g
  • 2
  • 2
4 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
In httpd.conf change the port where you have "Listen 7777"
You may also need to change it under your virtual servers blocks
0
 

Author Comment

by:mac_g
Comment Utility
there is no virtual server blocks , but i can see ...

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot "/usr/local/apache2/docs/dummy-host.example.com"
#    ServerName dummy-host.example.com
#    ServerAlias www.dummy-host.example.com
#    ErrorLog "logs/dummy-host.example.com-error_log"
#    CustomLog "logs/dummy-host.example.com-access_log" common
#</VirtualHost>


just  httpd.conf is not working ...
am getting below error messages

2014-11-23T19:34:01.9031+03:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: RDOV-WEBTIER01] [host_addr: 10.1.2.151] [pid: 6658] [tid: 139903535671104] [user: oracle] [VirtualHost: main]  caught SIGTERM, shutting down

[2014-11-23T19:34:11.3084+03:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host_id: RDOV-WEBTIER01] [host_addr: 10.1.2.151] [pid: 6824] [tid: 140318651787072] [user: oracle] [VirtualHost: main] (13)Permission denied:  make_sock: could not bind to address 0.0.0.0:80

[2014-11-23T19:34:11.3084+03:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c] [host_id: RDOV-WEBTIER01] [host_addr: 10.1.2.151] [pid: 6824] [tid: 140318651787072] [user: oracle] [VirtualHost: main]  no listening sockets available, shutting down

[2014-11-23T19:34:11.3084+03:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: RDOV-WEBTIER01] [host_addr: 10.1.2.151] [pid: 6824] [tid: 140318651787072] [user: oracle] [VirtualHost: main]  Unable to open logs

[2014-11-23T19:34:13.0368+03:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host_id: RDOV-WEBTIER01] [host_addr: 10.1.2.151] [pid: 6828] [tid: 140456206833472] [user: oracle] [VirtualHost: main] (13)Permission denied:  make_sock: could not bind to address 0.0.0.0:80

[2014-11-23T19:34:13.0368+03:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Well you must have the listen line
0
 

Author Comment

by:mac_g
Comment Utility
yes ...I tried..
when I restarted the service thereafter above error message I am getting
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now