Please pay attention to the local IPs I am referring.
I have a machine/computer hosting my website. It has a local IP 192.168.0.10: 8080. And I have a port forward rule for all request from post 80 be forwarded to 192.168.0.10: 8080 in the router config. It is fine and working.
EXCEPT from THE machine/computer (192.168.0.10) . If I `ssh 192.168.0.10` and `curl -v example.com` it returns `connect to 2.108.***.*** port 80 failed: Connection timed out`.
My another computer (192.168.0.11) returns perfectly fine response. But if I host the same website in this (192.168.0.11) machine. And change the port forwarding config to point to this machine (192.168.0.11). Now I can't access the website from this machine (192.168.0.11) but is accessible from the previous (192.168.0.10) machine.
In brief, The machine hosting a website can't access the website. Is it something to do with the firewall. Or am I missing something here?
Bedste svar af Slangefar