LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2004, 04:23 PM   #1
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Rep: Reputation: 15
Can only access server locally.


Hi,

I have SuSE 9.0 installed with the Apache Web Server.

I went into YAST Http Server Configuration and configured it with the following:
server name: thenetquest.com:8081
listen on: 8081.

I can access ther server from a web browser by typing in eather thenetquest.com:8081, localhost:8081, or 127.0.0.1:8081, however i am unable to access the server from any other computers in my home network.

I went into yast firewall configuration to see if that was the problem but there wasn't any firewall configured so i dont think the frewall is causing my problem.

I tried editing /etc/hosts and adding:
127.0.0.1 thenetquest.com
but that didn't work eather.

Can anyoneplease help me?

thanks,



Last edited by netquest1; 11-12-2004 at 04:30 PM.
 
Old 11-12-2004, 04:27 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
you're not trying to use 'localhost:8081, or 127.0.0.1:8081' from the other computers, are you?

try using the ip -- http://some.dotted.quad.ip:8081/
 
Old 11-12-2004, 04:31 PM   #3
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
rofl, no.
 
Old 11-12-2004, 04:33 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
rofl? so, can you ping the box, and get reply?

is your firewall open to traffic on :8081?
 
Old 11-12-2004, 04:40 PM   #5
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
yes i can ping and get a reply. The firewall is actually turned off right now. I did try however enabling it with port 8081 open but that still didn't fix the problem.
 
Old 11-12-2004, 04:43 PM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
then i figgure it's gotta be a problem in apache's conf file -- is it listening on :8081?

you seem to have some good idea of what you're doing, but give it a quick run through anyways to see if you missed something...
 
Old 11-12-2004, 04:47 PM   #7
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports. See also the <VirtualHost> directive.
#
# http://httpd.apache.org/docs-2.0/mod...on.html#listen
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
#
#Listen 12.34.56.78:80
#Listen 80
#Listen 443



<IfDefine SSL>
<IfDefine !NOSSL>
<IfModule mod_ssl.c>

Listen 443

</IfModule>
</IfDefine>
</IfDefine>


# Use name-based virtual hosting
#
# - on a specified address / port:
#
#NameVirtualHost 12.34.56.78:80
#
# - name-based virtual hosting:
#
#NameVirtualHost *:80
#
# - on all addresses and ports. This is your best bet when you are on
# dynamically assigned IP addresses:
#
#NameVirtualHost *
Listen 8081

---------------------------------------------------------------------

I had apache working before on this computer, but i had to edit one of the system files to get it to work but i reinstalled suse with a new herddrive and can't remember what i did to get it to work.

Last edited by netquest1; 11-12-2004 at 04:51 PM.
 
Old 11-12-2004, 04:54 PM   #8
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
do you think there couls be something wrong with my /etc/hosts file or some other default value that i forgot to edit in apach configuration? I looked but couldn't find anything obvious.
 
Old 11-12-2004, 05:00 PM   #9
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
if you're using the IP from a remote box, it's not the hosts file

the only thing i'm wondering is why you put the listen at the bottom...

but since it works locally, and you can ping remotely, you've got me stumped... though i still figgure it's something overlooked with 1) firewall, or 2) config
 
Old 11-12-2004, 05:54 PM   #10
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
If it works locally then that would lead me to believe that the configuration files for apache were fine. also why would the firewall interfear with web connections if it isn't evan enabled.

I am still stumped as to what the problem could be. any other ideas?
 
  


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
vsftpd server: can connect locally, not remotely propz Linux - Networking 2 10-24-2005 12:59 AM
Restrict X server access using /etc/security/access.conf anand_kt Linux - General 0 04-22-2005 08:40 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
Run a mail server with spam protection locally citog Linux - Software 0 08-06-2003 10:24 AM
Evolution - Removing trash from server when deleted locally njlarkin Linux - Software 0 10-19-2002 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 PM.

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