Solved

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

Posted on 2014-11-23
4
875 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
ID: 40460704
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
ID: 40461358
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
ID: 40461377
Well you must have the listen line
0
 

Author Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

786 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