LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-21-2003, 09:55 PM   #1
ilyash
Member
 
Registered: Oct 2003
Location: NY
Distribution: Redhat 9.0
Posts: 36

Rep: Reputation: 15
using apache in redhat 9, works through lan but...


Im running redhat 9, w/ jakarta-tomcat.
How do i get it to work through the net?
I got it working through localhost
but if i do:
myiphere:8080
it doesnt work..
whats the prob?
BTw- i configure my linux firewall to allow http
and i set up port forwarding on my router
 
Old 10-21-2003, 10:10 PM   #2
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
make sure you have port 80 forwarded to the right machine, and make sure that you are using your WAN ip address.

(ie http://66.30.230.232) not http://192.168.1.104
 
Old 10-21-2003, 10:17 PM   #3
ilyash
Member
 
Registered: Oct 2003
Location: NY
Distribution: Redhat 9.0
Posts: 36

Original Poster
Rep: Reputation: 15
whats my wan ip adress?
i dont think i use WAN
on my router CP, it says "connect automatically, as required"
and as for using the right machine..
is there some sort of ipconfig /all in redhat lol?
 
Old 10-21-2003, 10:20 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Some routers are bad at forwarding from one port to another.

Incoming on port 8080 should forward to 8080 -- or at least try doing that (you'll need to change httpd.conf).

Apache listens on 80 by default, so I assume you have portforwarding setup to go from incoming 8080 to 80 on your lan.

Try changing it to the same port

-Shade
 
Old 10-21-2003, 10:30 PM   #5
ilyash
Member
 
Registered: Oct 2003
Location: NY
Distribution: Redhat 9.0
Posts: 36

Original Poster
Rep: Reputation: 15
cool, it works. Thanks alot..
how do i set up ftp now lol?
I installed vsftpd
i configured my user name to be in the group ftp
i edited my conf file to not allow anonymous access
i configured router to forward ports 20 and 21 to my server
anythin else i forgot?
 
Old 10-21-2003, 10:33 PM   #6
ilyash
Member
 
Registered: Oct 2003
Location: NY
Distribution: Redhat 9.0
Posts: 36

Original Poster
Rep: Reputation: 15
i tried to ftp via another comp, but it set login incorrect.
is my ftp pass different from my login pass (redhat) ?
 
Old 10-21-2003, 10:34 PM   #7
ilyash
Member
 
Registered: Oct 2003
Location: NY
Distribution: Redhat 9.0
Posts: 36

Original Poster
Rep: Reputation: 15
is the group supposed to be ftp?
or am i suppose to make a new one?
 
  


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
apache works, website works, but not from outside? kahn Linux - Software 7 08-05-2005 03:38 AM
Your LAN works?? Then help! Pedroski Linux - Networking 10 05-20-2004 06:16 AM
Apache works on local machine, not LAN lanzdale Linux - Software 3 09-02-2003 10:16 PM
LAN works but Internet doesn't ???? El Croat Mandriva 11 08-24-2003 04:56 AM
LAN works, WAN doesn't ? BrianK Linux - Networking 2 06-16-2003 08:11 PM


All times are GMT -5. The time now is 03:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration