I'd like to write the code for a website on one pc and see the results in a browser on another pc in my local network.
For calling the skewer script in html, I replaced localhost with the local ip of pc1 – <script src="*pc1.ip*:8080/skewer"></script>.
But simple-httpd seems to only serve the site (and skewer script) on localhost, when I try to access *pc1.ip*:8080 via pc2 I get ERR_CONNECTION_REFUSED.
Other simple http serve solutions (i.e. python -m http.server 8080) are accessable via local network, however they don't "interact" with skewer.
Is there a way to access simple-httpd via non-localhost? Or maybe a way to connect skewer and another serving solution?
/EDIT1 - after DoMiNeLa10♦'s comment/
Tried to set httpd-host to pc1.ip – now I can access the page via pc2 – but no skewer functionality (no autorefresh on save, no skewer-eval-*,…).
/EDIT2 - again thanks to DoMiNeLa10♦'s comment/
Tried adding a domain name for pc1 ("pc1" ^^) in /etc/hosts on both pc
and changed to <script src="http://pc1:8080/skewer"></script> in html.
No luck –> ERR_CONNECTION_REFUSED on pc2