Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Gui only shows directory structure #91

Open
3615JMD opened this issue Jul 15, 2024 · 2 comments
Open

Web Gui only shows directory structure #91

3615JMD opened this issue Jul 15, 2024 · 2 comments

Comments

@3615JMD
Copy link

3615JMD commented Jul 15, 2024

Hi everyone,

I have done a fresh install of WhatchYourLAN:
Pointing at the docker host IP:8850 I get the directory structure of the needed files:

http://192.168.1.112:8850/
Index of /
(drwxr-xr-x) 27-Jun-2024 17:11 icons/
(drwxr-xr-x) 27-Jun-2024 17:11 node_modules/
(-rw-r--r--) 27-Jun-2024 17:11 3.2k package-lock.json
(-rw-r--r--) 27-Jun-2024 17:11 195B package.json
Node.js v22.3.0/ http-server server running @ 192.168.1.112:8850

But At IP:8840 where I should see the watchyourlan GUI, there is no answer !
Portainer does not show any published ports either ?!

At least the "wyl_1" container arp-scan works fine: the logs shows all the machines on the LAN.

have you any idea where to look ?
best regards
Jean-Marc.

@3615JMD
Copy link
Author

3615JMD commented Jul 17, 2024

I have found the issue. I publish in case it helps:
The port 8840 was blocked by the host firewall.
I figured this out because "curl localhost:8840" showed the whished page in raw html

this command solved the issue:
iptables -A INPUT -p tcp --dport 8840 -j ACCEPT

@doophy
Copy link

doophy commented Jul 18, 2024

This should really be added to the documentation for the project. With the current doc, the application is only available via localhost. Adding the above firewall rule (or the one I have below for firewalld) allows access from the LAN.

firewall-cmd --permanent --zone=public --add-port=8840/tcp
firewall-cmd --reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants