Quantcast
Channel: Osama Mustafa Oracle Blog
Viewing all articles
Browse latest Browse all 262

Change OHS Port On Linux to Work on 80

$
0
0
Operating system : Oracle Linux 6.4
Oracle WebTier OHS 11.1.1.7

if you want to configure OHS ( WT ) to work on port 80 ( http ) avoiding insert Port.

For Example :

OHS default Port is 7777, if you want to leave it like this any call for the server should be like this :

http://:7777/console  

But if you are using port 80 you have to do the below :

http:///console 

But on Linux if you need to use port 80 you have to be root, to do this follow the below step :


  • As root user :

[root@TST-WT1 bin]# pwd
/u01/fmw/Oracle_WT1/ohs/bin 

[root@TST-WT1 bin]# chown root .apachectl
[root@TST-WT1 bin]# chmod 6750 .apachectl

  • As Oracle User

[oracle@TST-WT1 ~]$ cd /u01/fmw/admin/config/OHS/ohs1/ 


[oracle@SCADNP-WT1 ohs1]$ ls http*
 httpd.conf      


  • Edit the file using any Editor and modify Listen from 7777 to 80
  • Restart OHS using opmnctl command.




--------+----------+-----------+------
ohs1                             | OHS                |   15732 | Alive    |  677601509 |   510840 |   0:00:11 | https:9999,https:4443,http:80


Thank you 
Osama Mustafa

Viewing all articles
Browse latest Browse all 262

Trending Articles