LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-25-2009, 09:56 AM   #1
sivaatluri
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
Making apache server on linux machine accessible to windows machines


Hi All,

I'm new to linux Os.Recently I had installed Apache as well as apache tomcat on linux machine.

Actually our total environment is of windows machines.

As needed we have to go with linux for installing apache.

I'm done with installing apache and apache tomcat on linux machines.Both are working fine.

Now when I'm trying to access the webserver using http://ip-adress from the windows machine..I'm getting error.

I feel I missed our something that lets the communication between windows and Linux machines..What should I do to resolve this issue.

I'm able to ping linux and windows machines from each other.

Thanks in Advance
Zaadu aka ASP
[Owner and Founder of Zaadu]
 
Old 09-25-2009, 09:59 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You don't need to do anything to make Apache visible from different operating systems than the one it is running on.

If you can ping the server but not view the web page, then it sounds like Apache maybe isn't running. Can you view the site from the local machine? It could also be an inbound firewall blocking access to port 80 on the server.
 
Old 09-26-2009, 02:51 AM   #3
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Rep: Reputation: 15
Hi,

Try making telnet from the client machine to Apache server to port 80 (or on which the Apache service is listening).

Also as Mr. MS3FGX told try opening your web page from the local machine where Apache is running.
 
Old 09-26-2009, 05:07 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
It will really help if you post the error that you get.
 
Old 09-29-2009, 01:42 AM   #5
sivaatluri
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
My Tomcat apache server is on a Linux machine with Ip 10.2.1.220

When I try to connect to this via firefox i'm getting

Unable to connect

Firefox can't establish a connection to the server at 10.2.1.220:8080.

Tomcat is running fine and I'm able to access it on the Local machine.

And Also I'm able to ping from windows to linux
 
Old 09-29-2009, 02:03 AM   #6
sivaatluri
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I'm able to connect to Linux machine using telnet successfully... no errors
 
Old 09-29-2009, 02:52 AM   #7
chandramani_yadav
Member
 
Registered: Jan 2007
Location: Vienna
Distribution: Redhat
Posts: 47

Rep: Reputation: 19
run the following command to check

telnet 10.2.1.220 8080

if it is not able to connect then check the firewall on your server. and allow the port 80 and port 8080.
 
Old 09-29-2009, 05:22 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I think you need to bypass the proxy in firefox or request the ip-address to be added somewhere in the proxy.

Last edited by Wim Sturkenboom; 09-29-2009 at 05:24 AM.
 
Old 10-01-2009, 06:42 AM   #9
sivaatluri
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you guys...Stopping Iptables resolved my issue...
 
  


Reply



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
i have apache web server locally accessible but inaccessible from other machine on la amolgupta Linux - Networking 5 07-08-2009 07:57 AM
Linux machine is not accessible through windows machine using samba satishmali1983 Linux - Server 2 06-25-2009 12:01 AM
Making grub.conf accessible from Windows bercy46 Linux - Newbie 2 10-13-2006 05:44 PM
How do I copy files from a linux machine to a Windows machines? hello321_1999 Linux - Software 11 05-15-2006 01:58 PM
browsing windows machines in linux machine SSENT12 Linux - Networking 8 07-21-2003 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration