-   Linux - Server (
-   -   How to config web server to be access by other machines with browser? (

flydragon 07-19-2010 07:57 PM

How to config web server to be access by other machines with browser?
Hi all,

I installed a server called Oracle VM Manager, which is actually a web based application to manage Oracle VM server.
After successfully installed everything, it suppose to be access by browser using
But strange thing is, I can see web pages from the server itself with http://localhost:8080, but any other machines to access it with hostname or ip address all failed.

Anything missed here, that I need to config?

The server and other machines are in same subnet, I can ping the server, and ssh to it.

Any suggestions?

Thanks in advance,

millergroup 07-19-2010 09:16 PM

Seems that your server is not open to the public on port 8080. Oracle and redhat are the same I do believe. You will have to append to your iptables to open port 8080. If the following does not work you will have to adjust the string to match your system.

From the shell logged in as root or super user.
Open flle /etc/sysconfig/iptabless

# sudo nano /etc/sysconfig/iptables
(if nano is not installed: yum install nano or apt-get install nano....much easier to use than vim/vi)

Append rule as follows:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT

Then control x on keyboard to save the file. Don't make a new line, just save at the end of your new string.

Save and close the file. Restart iptables:
# sudo /etc/init.d/iptables restart

That should do it. Do the same for each closed port you need to open.

millergroup 07-19-2010 09:26 PM

One more thing. You have to use a system editor. This is a binary file and cannot be edited with a text editor outside the system. The file will become corrupted and will not work anymore. Always backup a file like this before editing.

# sudo cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bak

All times are GMT -5. The time now is 07:56 PM.