Closed jdsimcoe closed 9 years ago
@sintaxi @kennethormandy Any ideas on this. Harp Server appears to be running in the Terminal:
------------
Harp v0.17.0 – Chloi Inc. 2012–2015
Your server is listening at http://localhost:9000/
Press Ctl+C to stop the server
------------
But nothing renders in the browser. Any ideas?
I've also re-installed Harp and it still happens.
You could check if you have a port conflict? Or try running Harp on a different port:
harp server -p 9001
Dang, that's probably it:
harpjs.com git/master 284s
❯ lsof -i ':9000'
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
php-fpm 335 jdsimcoe 6u IPv4 0x1b1d1f066b6b5327 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 487 jdsimcoe 0u IPv4 0x1b1d1f066b6b5327 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 488 jdsimcoe 0u IPv4 0x1b1d1f066b6b5327 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 489 jdsimcoe 0u IPv4 0x1b1d1f066b6b5327 0t0 TCP localhost:cslistener (LISTEN)
Looks like php-fpm is running there. Don't know how to stop that. So weird. I know I can switch ports but PHP shouldn't be running there.
I killed them via sudo kill -9
but that was weird. Thanks @kennethormandy!
So @kennethormandy is there a config where I can set the Harp port to 9001
by default when I run harp server
?
@kennethormandy Nevermind... thanks for all the help man.
When I run
harp server
using Harp0.17.0
doesn't render anything and returns this error: