Quote:It's a good chance that you may not have network address translation (NAT) set up on your ADSL router/modem properly, or your gateway machine isn't forwarding to your internal webserver properly. But due to your setup, there are quite a number of stages to check and get right first....
However, some things to check:
From the webserver:
telnet localhost 80 <-- see if apache is listening on 127.0.0.1
telnet 192.168.5.6 80 <-- see if apache is not just bound to localhost.
From the gateway:
telnet 192.168.5.6 80 <-- see if apache is accessible from an external IP (external to your webserver, that is)
Check those, and post back results, and we can take this further.
nb: there are a number of web-based port scanners to check open ports on your ADSL end - try one of those to see if the port is viewable from outside (internet) and if that IS the case, then you'll know it's routing/network issues internally.
edit: just had a thought... when you say "it can't find it", what is the *it* we're talking about here? Your machine can't resolve that domain name, or you have no route through to the IP address? Can you post the output of your error message here?
Thanks 'Dungeon-Dave'
telnet localhost 80 <-- see if apache is listening on 127.0.0.1 === works fine
telnet 192.168.5.6 80 <-- see if apache is not just bound to localhost. ===works fine
From the gateway:
telnet 192.168.5.6 80 <-- see if apache is accessible from an external IP (external to your webserver, that is)
You meant to say 192.168.5.5 === works fine
********************************
if i go to
www.canyouseeme.org, i cant see web server port open
checked with isp port 80 is not closed at all
before i check the firewall how do i open the web server on cisco ....
if i open port 80 on the router,,,,
i should be able to see port 80 as open if i go to
www.canyouseeme.org
is that right.
Because i am thinking of solving this from one stage to another
Here is my router config anything i should be looking at changing?
Will this config enable web server on port 80?
thom#sho configuration
Using 1639 out of 131072 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
no service dhcp
!
hostname thom
!
logging buffered 4096 debugging
enable secret ABCABCABACABACBACBACBACBQAC
enable password cdcdcdcdcdcdcdcdcdcd
!
ip subnet-zero
ip name-server 202.27.xxx.xx
ip name-server 203.97.xxx.xxx
ip dhcp excluded-address 192.168.1.254
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool dhcppool
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 203.97.xxx.xxx 203.97.xxx.xx
!
!
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 0/100
encapsulation aal5mux ppp dialer
dialer pool-membe
!
!
interface Dialer0
ip address negotiated previous
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username me@myisp.com password blablablablablabalabalabala
6C
ppp ipcp dns accept
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static tcp 192.168.1.10 80 203.97.xxx.xxx 80 extendable(203.97.xxx.xx is my static ip address)
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
stopbits 1
line vty 0 4
password XYZXYZXYZXYZXYZXYZXYCXZUTXTX
login
!
scheduler max-task-time 5000
end
thom#
Thanks