Link to home
Start Free TrialLog in
Avatar of mac_g
mac_gFlag for Saudi Arabia

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mac_g

ASKER

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
Well you must have the listen line
Avatar of mac_g

ASKER

yes ...I tried..
when I restarted the service thereafter above error message I am getting