LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   using apache in redhat 9, works through lan but... (https://www.linuxquestions.org/questions/linux-software-2/using-apache-in-redhat-9-works-through-lan-but-106938/)

ilyash 10-21-2003 08:55 PM

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

martinman 10-21-2003 09:10 PM

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

ilyash 10-21-2003 09:17 PM

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?

Shade 10-21-2003 09:20 PM

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

ilyash 10-21-2003 09:30 PM

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?

ilyash 10-21-2003 09:33 PM

i tried to ftp via another comp, but it set login incorrect.
is my ftp pass different from my login pass (redhat) ?

ilyash 10-21-2003 09:34 PM

is the group supposed to be ftp?
or am i suppose to make a new one?


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