bin/scout_realtime in scout_realtime-0.5.2 vs bin/scout_realtime in scout_realtime-0.5.3

- old
+ new

@@ -59,11 +59,17 @@ # if these were left as defaults, they'll be unchanged from the initial assignment above log_path = opts[:log_path] pid_path = opts[:pid_path] startup_message=<<EOS -* if you haven't already, open port #{opts[:port]} in your firewall. See http://scoutapp.github.io/scout_realtime for details -* Point your browser to http://your-ip-or-hostname:#{opts[:port]} +To view in your browser, do ONE of the following: + +A) create an SSH tunnel: ssh -NL #{opts[:port]}:localhost:#{opts[:port]} user@ip_or_hostname (run that command on your own computer, not the server) + then point your browser to: http://localhost:#{opts[:port]} + --- OR --- +B) open a port in your firewall: sudo iptables -A INPUT -p tcp --dport #{opts[:port]} -j ACCEPT (run that command on your server) + then point your browser to: http://your-ip-or-hostname:#{opts[:port]} + * FYI, the log file is: #{log_path} EOS # TODO: should be able to pass :daemonize => !opts[:foreground] to Dante::Runner instead if opts[:foreground]