I'm following along with the Go Revel framework nicely until I go to run the test app:
$ revel run myapp
which gives me the all the correct output but also gives the following error:
ERROR 2013/09/30 19:51:41 harness.go:167: Failed to start reverse proxy: listen tcp
<nil>:9000: address already in use
When I run this:
$ sudo lsof -n -i4TCP:9000 | grep LISTEN
I get this:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
php-fpm 11007 root 11u IPv4 0xffffff801441dde0 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 11008 _www 0u IPv4 0xffffff801441dde0 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 11009 _www 0u IPv4 0xffffff801441dde0 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 11010 _www 0u IPv4 0xffffff801441dde0 0t0 TCP localhost:cslistener (LISTEN)
I have a PHP-NGINX app running on port 80 and don't want to lose that but have no idea whether this means this PHP app is blocking my Go app from running.
Can anyone chime in?
I'm running on MacOS X 10.7.5.