Solved

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

Posted on 2014-11-23
4
851 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LAMP problem identifier tool ? 9 108
Re-negotiation handshake failed: Not accepted by client!? 8 264
JKS to store upstart data 2 84
UPLOAD FILE TO Web API USING POST 5 103
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

929 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

18 Experts available now in Live!

Get 1:1 Help Now