I have a web server listening to port 80 (http) and 443 (https).
I can load pages from it from any computer in my house, all behind the
same router, using its IP number.
I enabled port forwarding in the DMZ in my router for ports 80 and 443.
I can't load pages through my router using its WLAN name or WLAN IP
number. I get "Unable to connect" from Firefox. or "This site can't be reached" Â and ERR_ADDRESS_UNREACHABLE from Konqueror.
I have mapped port 8079 to port 80 in my router. I can't load pages
using that mapping.
I also map an external port (not 22) to port 22, and I can "ssh" to my computer using its WLAN name.
This was all working until about three weeks ago. I didn't change the firmware in my Linksys.
Any ideas?
The server is on the LAN side of the router (192.168.1.65). It's not in
the DMZ. My server isn't running Apache ACLs or iptables or TCP
wrapper. The router is running a firewall. I've forwarded WAN-side
ports 23, 80 and 443 to my server, and another non-22 WAN-side port to
port 22 on my server.
I can view pages from my server on itself or other computers in my
house using 192.168.1.65 (the LAN side of the router), but not
47.229.8.99 (the WAN side of the router).
Maybe my server isn't listening for telnet. I installed telnet and
telnetd, but "systemctl start telnetd" said there's no such thing.
Ok so if I understand you correctly then you are attempting to port
forward 80 and 443 through the router's WAN Wide Area Network
interface to a server located in the DMZ DeMilitarized Zone. Does the
server have Apache ACL's, IP Tables or TCP wrapper running on it? Can
you try to do a port ping or use telnet to connect to port 80 to test connectivity. ex: `telnet <Routers WAN IP Address or Public DNS Name>
80`. As you say that the server is on the inside of your network.
Have
you tried placing the server in the DMZ?
<br></div><div><br></div><div>Another alternative is the ISP has started blocking incoming connections <br></div><div>on the web ports?<br></div><div><br></div><div>How could I find out if it's doing that?</div><div><br></div><div>It's not blockingthe random port that I map to 22 so I can ssh to my server.</div><div><br></div><div>I can FTP to my server from itself, but not through the router.</div><div><br></div><div>I can't FTP to my server from another computer in my house.</div><div><br></div><
And now it seems I can't load web pages from my server on other computers in my house. So maybe the server has started some kind of a firewall. How would I find it and either turn it off or configure it so it allows more than ssh.</div><div><br></div><div><span></span></div></body></html>
On Tue, Apr 01, 2025 at 17:52:55 -0700, Van Snyder wrote:
The server is on the LAN side of the router (192.168.1.65). It's
not in the DMZ. My server isn't running Apache ACLs or iptables or
TCP wrapper. The router is running a firewall.  I've forwarded
WAN-side ports 23, 80 and 443 to my server, and another non-22
WAN-side port to port 22 on my server.
I can view pages from my server on itself or other computers in my
house using 192.168.1.65 (the LAN side of the router), but not
47.229.8.99 (the WAN side of the router).
OK, so just to be clear:
1) Your internal computer is running a web server on ports 80 and 443.
2) Your internal computer's IP address is 192.168.1.65.
3) Your router's external IP address is 47.229.8.99.
4) You've told your router to forward port 80 to 192.168.1.65 port 80.
Maybe my server isn't listening for telnet. I installed telnet and
telnetd, but "systemctl start telnetd" said there's no such thing.
DO NOT install telnetd!!
OK, with that out of the way:
hobbit:~$ telnet 47.229.8.99 80
Trying 47.229.8.99...
telnet: Unable to connect to remote host: No route to host
I cannot reach your router's external IP address from here. You'll
want to verify that this is the correct IP adderss, and if it is,
figure out why it can't be routed-to from the outside world.
On Wed, Apr 02, 2025 at 11:04:17AM +0100, debian-user@howorth.org.uk
wrote:
GET index.html
should be:
GET index.html HTTP/1.0
(Strictly speaking you should close off with twice <CR><LF>, but
most web servers are tolerant if you just send two <LF>)
Not sending a HTTP version in your request /is/ a bad request,
indeed.
<tomas@tuxteam.de> wrote:
On Wed, Apr 02, 2025 at 11:04:17AM +0100, debian-user@howorth.org.uk
wrote:
GET index.html
should be:
GET index.html HTTP/1.0
Well, practically it makes no difference. If I send with or without an
HTTP version I get the same Bad Request response. And it makes no
difference whether I use HTTP/1.0 or HTTP/1.1.
GET index.html
<tomas@tuxteam.de> wrote:
On Wed, Apr 02, 2025 at 11:04:17AM +0100, debian-user@howorth.org.uk
wrote:
GET index.html
should be:
GET index.html HTTP/1.0
(Strictly speaking you should close off with twice <CR><LF>, but
most web servers are tolerant if you just send two <LF>)
Not sending a HTTP version in your request /is/ a bad request,
indeed.
Well, practically it makes no difference. If I send with or without an
HTTP version I get the same Bad Request response. And it makes no
difference whether I use HTTP/1.0 or HTTP/1.1.
In fact sending an HTTP version is not compulsory and the request must
be interpreted as HTTP/0.9 if it is not sent.
Well, practically it makes no difference. If I send with or without an
HTTP version I get the same Bad Request response. And it makes no
difference whether I use HTTP/1.0 or HTTP/1.1.
debian-user@howorth.org.uk (HE12025-04-02):
Well, practically it makes no difference. If I send with or without an
HTTP version I get the same Bad Request response. And it makes no difference whether I use HTTP/1.0 or HTTP/1.1.
Does it make a difference if you send CRLF instead of LF, as Tomas
mentioned? For that, you would need to hit ctrl-enter and see ^M in the terminal, each time before you hit enter.
On Wed, 2025-04-02 at 11:25 -0700, Van Snyder wrote:
On Wed, 2025-04-02 at 01:17 -0400, Timothy M Butterworth wrote:
I am able to reach The Van Snyder's Web Site using the above IP
address and URL on port 80 but not 443. I got a certificate error
on 443.
I've never before set up a secure server. I followed instructions at
a web page, whose URL I neglected to put into my notes, to set up the
SSL.
I probably did something wrong.
Was there a clue in the error message about what I did wrong?
I got a security error too. It says the problem is that the certificate
is self-signed. I have no idea what that means or how to repair it.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 147:52:07 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,737 |