LinuxQuestions.org
Visit Jeremy's Blog.
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 08-01-2005, 08:43 AM   #1
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Rep: Reputation: 15
apache works, website works, but not from outside?


I have installed lampp, and have been developing a website.

I have setup a virtual server to map port 1000 to port 80 on my laptop.

I want to customer to be able to use the the website first.

I have turned off iptables but it doesnt seem to want to connect? I can access and work with the webpage from my computer, but from outside I cannot get anything. I cant ping either.


Is there something else I should make in the settings besides the virtual server? i have both tcp and udp selected...

thanks in advanced

mfg, martin
 
Old 08-01-2005, 08:48 AM   #2
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Original Poster
Rep: Reputation: 15
I put myself on the dmz, i know not a good thing but Im just trying to test it out.

I immediately get a cannot connect. i punched holes open in the firewall on the router as well... no go
 
Old 08-01-2005, 08:48 AM   #3
d00msdaypr0phet
Member
 
Registered: Mar 2005
Location: Oregon
Distribution: Debian, Ubuntu, Whatever
Posts: 32

Rep: Reputation: 15
Bet your ISP block port 80 like everyother ISP in the world thanks to the Unsecure IIS / Code Red b@st@rds
Change to 81 or something.
 
Old 08-01-2005, 10:53 AM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
does your linux box have firewall (iptables) active?
 
Old 08-02-2005, 02:43 AM   #5
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Original Poster
Rep: Reputation: 15
no, iptables has been turned off ...(not permenant, just temporary till I get it figured out, then I will slowly add rules back in till it is complete and still works.
 
Old 08-04-2005, 09:44 PM   #6
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
then as sujested above, change the port for your web page and see if you can get it to connect. port 80 maybe blocked by your ISP, so try 8080, or 4050 or some other unused port 1024>, heck try 60000 if you want to get nuts.
 
Old 08-04-2005, 10:41 PM   #7
d00msdaypr0phet
Member
 
Registered: Mar 2005
Location: Oregon
Distribution: Debian, Ubuntu, Whatever
Posts: 32

Rep: Reputation: 15
If iptables is disabled you will have no way to test if the port is open and working from the external interface because the http request needs to traverse from a public to a private ip scheme accross 2 NIC;s/ Basically if you can access the site via localhost or loopback thats good, apache works. If you type http://<outsideip> and if fails then your iptables need to be tweaked. If that works google a site called sheilds up and have them do a port scan on oyur box to report the open ports and adjust your iptables accordingly.
 
Old 08-05-2005, 02:38 AM   #8
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Original Poster
Rep: Reputation: 15
well, it works now, thanks for your input.

it turns out

to access the site I always used a http://ip:1000//(port i had used on virtual server)

but it turns out, for some reason, that when i took away the 1000 and just included the directory of the page I wanted to tested it worked.

ip/phpnuke

Interesting, I dont get it. its a dlink router, so that should explian a lot.

martin
 
  


Reply


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
Mounting works, playing music works, reading tags doesn't Celettu Linux - Newbie 7 08-23-2006 12:27 PM
Apache works but now what? carlosinfl Linux - Software 1 10-14-2004 02:49 PM
Strange USB problems - it works AND it works not Nightfrost Linux - Hardware 2 10-07-2004 06:07 PM
Red Hat - Browser does not fetch website but ping works learningkid Red Hat 3 09-12-2004 11:34 PM
Apache only works on localhost Airwaves Linux - Networking 8 07-12-2004 02:29 AM

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

All times are GMT -5. The time now is 09:51 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