How to start Ghost localhost of server instead of ssh remote pc

I’m trying to portforward my Ghost Development but cannot seem to start it on the server where it is located.

Weirdly enough when I ssh to my linux server, start ghost through ssh, the ghost web server runs on my pc on localhost instead of 192.168.x.x:2368 (server ip).
How can I make sure it runs on localhost on the server instead of my PC where I’m just using ssh to start it.

As always, be careful when port forwarding - lots of security things to think about :slight_smile:

The host that Ghost listens on is configured via the property.

→ listen on network IP: ghost config set 192.168.x.x
→ listen on all interfaces: ghost config set

You should get a reminder, but config changes don’t apply until you restart Ghost → ghost restart

1 Like

Thank you this worked :D