Linux mint web server working locally but not remotely on my home network.

gregaryb

New Member
Joined
Nov 5, 2023
Messages
24
Reaction score
4
Credits
301
If I type 192.168.0.183 into firefox on my linux mint desktop then thr test web page come up.
But if I type 192.168.0.183 into firefox on my windows desptop the web site times out.
Why?
 


The first thought is the firewall. Have you enabled ports 80 and 443?

You might try this on your Linux system..

sudo ufw allow 80/tcp

sudo ufw allow 443/tcp

sudo ufw reload

sudo ufw status
 
The first thought is the firewall. Have you enabled ports 80 and 443?

You might try this on your Linux system..

sudo ufw allow 80/tcp

sudo ufw allow 443/tcp

sudo ufw reload

sudo ufw status
Thanks, trying it.
 
The first thought is the firewall. Have you enabled ports 80 and 443?

You might try this on your Linux system..

sudo ufw allow 80/tcp

sudo ufw allow 443/tcp

sudo ufw reload

sudo ufw status
It did not seem to make any difference. 192.168.0.183 still times out.
And there is clearly a web page there.
Unless you need a .htacces file to specify index.php is THE default web page?
1699255526510.png
 
Is this said Linux Mint desktop the server? Open PowerShell from Windows PC and write "Test-NetConnection -ComputerName 192.168.0.183 -Port 80" and "Test-NetConnection -ComputerName 192.168.0.183 -Port 443" without quote marks.

What is the output for those?
 
Is this said Linux Mint desktop the server? Open PowerShell from Windows PC and write "Test-NetConnection -ComputerName 192.168.0.183 -Port 80" and "Test-NetConnection -ComputerName 192.168.0.183 -Port 443" without quote marks.

What is the output for those?
Never mind - it was a browser cache issue. I cleared Firefox's cache and the page came up.
 
Last edited:


Top