Code Monkey home page Code Monkey logo

Comments (14)

downtrip avatar downtrip commented on July 28, 2024 2

You need to set the GUIIP variable with the IP address of server you are running this on (may be this Debian 11 VM)

Sorted, thanks

from watchyourlan.

lindenmj avatar lindenmj commented on July 28, 2024 2

Looks like the GUI is working, but you can't reach it. Maybe look at your firewall settings and if port 8840/tcp is open? Try curl <my internal ip>:8840 from your docker host, it should show the page

Yes, curl pulled up the page. At your suggestion I opened up 8840 with ufw allow 8840 and now we're sorted! I hadn't needed to do that with any other of my docker containers, but here I did. Thank you!

from watchyourlan.

aceberg avatar aceberg commented on July 28, 2024 1

Can you please show me the log and an output of command netstat -nlpt | grep 8840

image

Seems like it's the same problem, as downtrip posted. By default, web GUI is listening 127.0.0.1 for securuty reasons. You need to set GUIIP variable to the IP you want it to listen on.

from watchyourlan.

g0sy avatar g0sy commented on July 28, 2024 1

Sorted as well! Thanks!

from watchyourlan.

aceberg avatar aceberg commented on July 28, 2024 1

@corasaniti
No, right now it's not possible. I'll think about adding this feature
For now you can set GUIIP to 0.0.0.0 to listen on all IPs and limit access to it with firewall

from watchyourlan.

downtrip avatar downtrip commented on July 28, 2024

Similar here. Docker compose file. No web gui. Logs show network detection and it appears to be scanning correctly with no errors in the logs. Just no gui :(

from watchyourlan.

aceberg avatar aceberg commented on July 28, 2024

Can you please show me the log and an output of command netstat -nlpt | grep 8840

from watchyourlan.

downtrip avatar downtrip commented on July 28, 2024

Log:

today at 12:48:392022/08/27 12:48:39 INFO: DB exists
today at 12:48:39
today at 12:48:39=================================== 
today at 12:48:39Web GUI at http://localhost:8840
today at 12:48:39=================================== 
today at 12:48:39
today at 12:48:392022/08/27 12:48:39 INFO: scanning interface ens18
(network redacted, too much personal info - list of devices, ips, & MACs)

netstat:
tcp 0 0 127.0.0.1:8840 0.0.0.0:* LISTEN 468434/./watchyourl
FYI Docker is running in a Proxmox VM, Debian 11

from watchyourlan.

aceberg avatar aceberg commented on July 28, 2024

Log:

today at 12:48:392022/08/27 12:48:39 INFO: DB exists
today at 12:48:39
today at 12:48:39=================================== 
today at 12:48:39Web GUI at http://localhost:8840
today at 12:48:39=================================== 
today at 12:48:39
today at 12:48:392022/08/27 12:48:39 INFO: scanning interface ens18
(network redacted, too much personal info - list of devices, ips, & MACs)

netstat: tcp 0 0 127.0.0.1:8840 0.0.0.0:* LISTEN 468434/./watchyourl FYI Docker is running in a Proxmox VM, Debian 11

According to the netstat, GUI is running, but available only from localhost. You need to set the GUIIP variable with the IP address of server you are running this on (may be this Debian 11 VM) or 0.0.0.0 instead, to listen on all interfaces (this is not always secure)

from watchyourlan.

g0sy avatar g0sy commented on July 28, 2024

Can you please show me the log and an output of command netstat -nlpt | grep 8840

image

from watchyourlan.

lindenmj avatar lindenmj commented on July 28, 2024

Log:

today at 12:48:392022/08/27 12:48:39 INFO: DB exists
today at 12:48:39
today at 12:48:39=================================== 
today at 12:48:39Web GUI at http://localhost:8840
today at 12:48:39=================================== 
today at 12:48:39
today at 12:48:392022/08/27 12:48:39 INFO: scanning interface ens18
(network redacted, too much personal info - list of devices, ips, & MACs)

netstat: tcp 0 0 127.0.0.1:8840 0.0.0.0:* LISTEN 468434/./watchyourl FYI Docker is running in a Proxmox VM, Debian 11

According to the netstat, GUI is running, but available only from localhost. You need to set the GUIIP variable with the IP address of server you are running this on (may be this Debian 11 VM) or 0.0.0.0 instead, to listen on all interfaces (this is not always secure)

I'm still having issues connecting even with setting the GUIIP and GUIPORT. netstat reports:

tcp 0 0 <my internal ip>:8840 0.0.0.0:* LISTEN 546991/./watchyourl

Logs are showing the list of devices so it's running. Any ideas?

from watchyourlan.

aceberg avatar aceberg commented on July 28, 2024

Log:

today at 12:48:392022/08/27 12:48:39 INFO: DB exists
today at 12:48:39
today at 12:48:39=================================== 
today at 12:48:39Web GUI at http://localhost:8840
today at 12:48:39=================================== 
today at 12:48:39
today at 12:48:392022/08/27 12:48:39 INFO: scanning interface ens18
(network redacted, too much personal info - list of devices, ips, & MACs)

netstat: tcp 0 0 127.0.0.1:8840 0.0.0.0:* LISTEN 468434/./watchyourl FYI Docker is running in a Proxmox VM, Debian 11

According to the netstat, GUI is running, but available only from localhost. You need to set the GUIIP variable with the IP address of server you are running this on (may be this Debian 11 VM) or 0.0.0.0 instead, to listen on all interfaces (this is not always secure)

I'm still having issues connecting even with setting the GUIIP and GUIPORT. netstat reports:

tcp 0 0 <my internal ip>:8840 0.0.0.0:* LISTEN 546991/./watchyourl

Logs are showing the list of devices so it's running. Any ideas?

Looks like the GUI is working, but you can't reach it. Maybe look at your firewall settings and if port 8840/tcp is open?
Try curl <my internal ip>:8840 from your docker host, it should show the page

from watchyourlan.

aceberg avatar aceberg commented on July 28, 2024

Yes, curl pulled up the page. At your suggestion I opened up 8840 with ufw allow 8840 and now we're sorted! I hadn't needed to do that with any other of my docker containers, but here I did. Thank you!

You are welcome! This container uses host network to access interfaces, so it's not automatically port-forwarded by docker

from watchyourlan.

corasaniti avatar corasaniti commented on July 28, 2024

@aceberg
Is's possible to expose multiple IPs? For example I use tailscale and I would like to reach the GUI inside my Tailscale VPN as well as in LAN. I was wondering if something works as follows

GUIIP = "192.168.2.1, XXX.XXX.XXX.XXX"
Thanks

from watchyourlan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.