I have Node 10.x installed and I’m not getting any errors when I install and start Ghost, but I can’t get it to pull up on localhost using the port it gives me. The service is definitely running and I checked my firewall rules to make sure the port is allowed through.
That’s because WSL runs on a different IP. You have to do a couple things to get it set up.
Allow connections from any host ghost config set server.host 0.0.0.0
Get the IP address of your instance ifconfig | grep 172 | tr -s ' ' | cut -d ' ' -f3
Update the url of your instance ghost config set url http://{IP_ADDRESS}:2369
Restart ghost ghost restart
Navigate to the URL you set
Note: the IP address of wsl changes every time it restarts. I have a host override such that ghost.local points to the current IP. Right now, I manually update the IP but I’ll probably eventually write a script to automatically do it