LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-19-2010, 06:57 PM   #1
flydragon
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Question 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 http://host.name:8080
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,
 
Old 07-19-2010, 08:16 PM   #2
millergroup
Member
 
Registered: Oct 2009
Posts: 39

Rep: Reputation: 15
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.

Last edited by millergroup; 07-19-2010 at 08:18 PM.
 
Old 07-19-2010, 08:26 PM   #3
millergroup
Member
 
Registered: Oct 2009
Posts: 39

Rep: Reputation: 15
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

Last edited by millergroup; 07-19-2010 at 08:36 PM. Reason: mistake
 
  


Reply

Tags
linux, oracle, server, vm, web


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion Web Access Will Not Allow Me To Log In With My Web Browser jc_cpu Linux - Server 4 04-11-2011 02:01 PM
Failed to launch VMware Web Access: unable to find a graphical web browser. rob0t Linux - Server 0 03-18-2009 02:32 PM
after port forwarding to web server, lan user cant access by typing www via browser shio Linux - Networking 6 02-24-2008 10:38 AM
SuSE access to a web browser? flipwhy Linux - Newbie 4 07-13-2006 07:54 AM
sendmail access through web browser. bally Linux - General 1 03-08-2003 02:42 AM


All times are GMT -5. The time now is 04:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration