Connection refused only locally. Access from outside works

0

0

I have raspberry pi with raspbian. Lighttpd and sshd worked fine, but a few days ago they started to refuse connections from local network

PuTTY and Chrome connection to local IP gets refused. However connection to external IP works just fine

iptables, hosts.allow and hosts.deny are empty- Using default lighttpd and openssh-server config

trogper

Posted 2014-10-20T21:45:38.123

Reputation: 520

1Are you accessing via the ip address or domain name? – Paul – 2014-10-21T01:54:03.240

Externally using domain, locally using hostname – trogper – 2014-10-21T13:56:47.903

I feel so dumb right now. – trogper – 2014-10-21T15:10:46.407

Answers

0

Cause of this problem was just that IP changed and hosts file on PC was pointing to nonexistent IP.

Router's open ports are automatically changed to match IP assigned by DHCP

trogper

Posted 2014-10-20T21:45:38.123

Reputation: 520