Skip to content
Doron Behar edited this page Mar 20, 2019 · 10 revisions

Questions and Answers

castnow keeps being stuck in the state loading or scanning

Likely your firewall is blocking traffic. Ensure to open the TCP ports from 4100 to 4105 and the UDP port 5353. Also make sure to update castnow to at least version 0.4.3.

Port commands:

sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT  
sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:4105 -j ACCEPT 

Another potential issue, is castnow might be binding to the wrong IP address. Check which IP address the web server is being started on, if a wrong IP address is being used, you can pass the --myip parameter to choose the correct network.

To determine if the firewall is the issue, disable it for a few minutes and test.

castnow fails on installation

Make sure you are using the latest stable node and NPM version. Also make sure you have Git installed... then try again.

#### /usr/bin/env: node: No such file or directory
https://github.com/nodejs/node-v0.x-archive/issues/3911

@digitalmediums commented on 27 Sep 2012

I've found this is often a misnaming error, if you install from a package manager you bin may be called nodejs so you just need to symlink it like so ln -s /usr/bin/nodejs /usr/local/bin/node or modify /usr/local/bin/castnow to use #!/usr/bin/env nodejs.

Reporting bugs/issues

Please always append the debug output to your issues. You can enable the debug messages by setting the DEBUG ENV variable before running the castnow command like this: DEBUG=castnow* castnow ./myvideo.mp4