Solved

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

Posted on 2014-11-23
4
924 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction and Prerequisites This article describes methods for detecting whether a client browser accepts and returns HTTP cookies and whether the client browser runs JavaScript.  Most client browsers will, by default, be configured to use cooki…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …

756 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