{"id":5564,"date":"2013-05-30T01:46:53","date_gmt":"2013-05-30T05:46:53","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=5564"},"modified":"2017-03-01T03:06:22","modified_gmt":"2017-03-01T07:06:22","slug":"configure-oracle-http-server-ohs-on-port-80-443","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/","title":{"rendered":"Configure Oracle HTTP Server (OHS) on port 80 \/ 443"},"content":{"rendered":"<p><strong>Oracle HTTP Server (OHS)<\/strong> is a Web Server from Oracle built on top of Apache with additional modules like <a href=\"http:\/\/docs.oracle.com\/cd\/E16764_01\/web.1111\/e10144\/under_mods.htm\">mod_osso, mod_ossl etc <\/a> . OHS by default listen on port <strong>7777<\/strong> or <strong>8888<\/strong> (non SSL\/HTTP) and <strong>4443<\/strong> (SSL\/HTTPS). \u00a0This post covers steps to <strong>re-configure OHS to listen on port 80 (HTTP)\/443 (HTTPS)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Key things good to know<\/strong><\/span><\/p>\n<ul>\n<li>Port on which HTTP Server<strong> listen<\/strong> is defined in $ORCALE_INSTANCE\/config\/OHS\/ohs1\/<strong>httpd.conf<\/strong> (parameter <strong>Listen<\/strong>)<br \/>\n<span style=\"color: #ff0000;\">Note: Location of httpd.conf may be different depending on OHS version (above location is for OHS 11g)<\/span><\/li>\n<li>If there is load balancer listening on port 80 , forwarding request to OHS listening on port 7777 then in <strong>httpd.conf<\/strong> value of parameter <strong>Listen<\/strong> should set to <strong>7777<\/strong> and value of parameter <strong>Port<\/strong> should be <strong>80<\/strong><\/li>\n<li>Default <strong>HTTP port<\/strong> is <strong>80<\/strong> and <strong>HTTPS<\/strong> by default is<strong> 443<\/strong> i.e. if you use\u00a0<strong>https:\/\/onlineappsdba.com<\/strong> (<span style=\"color: #ff0000;\"><strong>http<\/strong> but <strong>no port<\/strong> at the end) <span style=\"color: #000000;\">then you are making request on port 80\u00a0<\/span><\/span>or if you us\u00a0<strong>https:\/\/onlineappsdba.com<\/strong>\u00a0(<span style=\"color: #ff0000;\"><strong>https<\/strong>\u00a0but\u00a0<strong>no port<\/strong>\u00a0at the end<\/span>) then you are making request on port 443)<\/li>\n<li>OHS on Linux\/Unix is installed and run as <strong>non Root<\/strong> user<\/li>\n<li>On Unix any service (including OHS) that runs on <strong>port &lt; 1024<\/strong> must be run as <strong>root<\/strong> user. You must re-configure OHS so that service is started as <strong>root<\/strong> user<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Steps to configure OHS to listen on port 80\/443<\/strong><\/span><\/p>\n<ul>\n<li>If OHS is running then stop OHS as <strong>opmnctl stopall<\/strong> (from user that installed OHS)<\/li>\n<li>Change owner of $ORACLE_HOME\/ohs\/bin\/<strong>.apachectl<\/strong> to <strong>root<\/strong> and change permission of this file to <strong>6750<\/strong>(as user root)<strong>chown root .apachectl\u00a0<\/strong><br \/>\n<strong> chmod 6750 .apachectl<\/strong><br \/>\n<span style=\"color: #ff0000;\"><br \/>\nNote: .apachectl is hidden file (dot in front signifies hidden file)<\/span><\/li>\n<li>Change <strong>Listen<\/strong> in<strong> httpd.conf<\/strong> to <strong>80<\/strong> and <strong>Listen<\/strong> in <strong>ssl.conf<\/strong> to <strong>443<\/strong><\/li>\n<li>Start OHS\u00a0as <strong>opmnctl startall<\/strong> (<span style=\"color: #ff0000;\">from user that installed OHS<\/span>)<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><strong>Related\/References<\/strong><\/span><\/p>\n<ul>\n<li><a href=\"http:\/\/docs.oracle.com\/cd\/E16764_01\/web.1111\/e10144\/getstart.htm#BEHFGCAE\">Starting HTTP Server on Privileged Port<\/a><\/li>\n<li>[ID 457171.1] \u00a0How To Change The Oracle HTTP Server Listener To Listen On Port 80?<\/li>\n<\/ul>\n<p>Did you get a chance to download Free Interview Questions related to Oracle Fusion Middleware ? If not, download it here<a href=\"http:\/\/k21academy.com\/fmw-interview-question\">\u00a0http:\/\/k21academy.com\/fmw-interview-question<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/k21academy.com\/fmw-interview-question\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11728\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png\" alt=\"fmw banner\" width=\"1024\" height=\"154\" srcset=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png 1024w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-150x23.png 150w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-300x45.png 300w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-80x12.png 80w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-220x33.png 220w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-250x38.png 250w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-280x42.png 280w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-510x77.png 510w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-750x113.png 750w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-975x147.png 975w, https:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1190x179.png 1190w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle HTTP Server (OHS) is a Web Server from Oracle built on top of Apache with additional modules like mod_osso, [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[433,432],"tags":[],"class_list":["post-5564","post","type-post","status-publish","format-standard","hentry","category-fusion-middleware","category-ohs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure Oracle HTTP Server (OHS) on port 80 \/ 443 -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Oracle HTTP Server (OHS) on port 80 \/ 443 -\" \/>\n<meta property=\"og:description\" content=\"Oracle HTTP Server (OHS) is a Web Server from Oracle built on top of Apache with additional modules like mod_osso, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-30T05:46:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-03-01T07:06:22+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/\",\"name\":\"Configure Oracle HTTP Server (OHS) on port 80 \/ 443 -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png\",\"datePublished\":\"2013-05-30T05:46:53+00:00\",\"dateModified\":\"2017-03-01T07:06:22+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#primaryimage\",\"url\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png\",\"contentUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure Oracle HTTP Server (OHS) on port 80 \/ 443\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure Oracle HTTP Server (OHS) on port 80 \/ 443 -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/","og_locale":"en_US","og_type":"article","og_title":"Configure Oracle HTTP Server (OHS) on port 80 \/ 443 -","og_description":"Oracle HTTP Server (OHS) is a Web Server from Oracle built on top of Apache with additional modules like mod_osso, [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/","article_published_time":"2013-05-30T05:46:53+00:00","article_modified_time":"2017-03-01T07:06:22+00:00","og_image":[{"url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png","type":"","width":"","height":""}],"author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/","url":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/","name":"Configure Oracle HTTP Server (OHS) on port 80 \/ 443 -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#primaryimage"},"image":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#primaryimage"},"thumbnailUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png","datePublished":"2013-05-30T05:46:53+00:00","dateModified":"2017-03-01T07:06:22+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#primaryimage","url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png","contentUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2013\/11\/fmw-banner-1024x154.png"},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2013\/05\/30\/configure-oracle-http-server-ohs-on-port-80-443\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Configure Oracle HTTP Server (OHS) on port 80 \/ 443"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/5564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=5564"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/5564\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=5564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=5564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=5564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}