lanceseidman / PiCAST

PiCAST turns your $35 Raspberry Pi in to a Chromecast like Device.
https://munchron.com
1.77k stars 263 forks source link

PiCAST installs and runs but doesn't listen to anything #66

Open shodanx2 opened 3 years ago

shodanx2 commented 3 years ago

pi@raspberrypi:~ $ sudo netstat -plnt Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0: LISTEN 24568/cupsd
tcp 0 0 0.0.0.0:5900 0.0.0.0:
LISTEN 4844/vncserver-x11- tcp6 0 0 ::1:631 ::: LISTEN 24568/cupsd
tcp6 0 0 :::5900 :::
LISTEN 4844/vncserver-x11- pi@raspberrypi:~ $ ps aux | grep -i picast pi 10827 0.7 2.2 125028 43504 ? Ssl 20:36 0:07 /usr/bin/node /usr/local/lib/node_modules/forever/bin/monitor picast.js pi 18141 160 1.2 106508 24700 ? Rl 20:52 0:01 /usr/bin/node /home/pi/PiCAST/picast.js pi 18147 150 1.1 105448 21124 ? Rl 20:52 0:01 /usr/bin/node /home/pi/PiCAST/picast.js pi 18154 0.0 0.0 7480 580 pts/0 S+ 20:52 0:00 grep --color=auto -i picast pi 20055 0.3 2.8 132760 54024 ? Ssl Aug29 7:42 /usr/bin/node /usr/local/lib/node_modules/forever/bin/monitor picast.js

guitarjhk commented 2 years ago

Hi .

got the same issue - no port of 3000 is been listent to ... and I can't http://ip_of_raspberryPi_ip:3000 all I get is ERR_CONNECTION_REFUSED

thx

John

lanceseidman commented 2 years ago

When you run PiCAST, can you show the result and the output once you try to make the connection as it sounds like the server isn't running or listening to 3000. Or the way you're accessing it, you didn't replace ip_of_raspberryPi to your local network IP.

Remember, depending on your setup, maybe need to run with sudo.