Accessing development install on local network

How can I access my development install from another device on my local network? I have Macs, iOS, and use a Time Capsule as my router.

Assuming you don’t have any firewalls blocking connections, you just need to make a request to http://ip:port on a device within your network.

Here’s an article showing how to find your local ip:

As an example, if my computer’s ip was 192.168.1.101, and ghost was listening on 2368 (default port), I could view the site by visiting http://192.168.1.101:2368 on my phone

Is yours in development or production? I tried the IP and port…

@Christopher_Rice you’ll also need to change your host config to listen on your computer’s IP address, or 0.0.0.0, eg:

{
    "url": "http://{your-ip}:2368",
    "server": {
        "host": "0.0.0.0",
        "port: 2368
    }
}

If you don’t do that then node will only listen on the local loopback interface (127.0.0.1) so any requests coming in from a different network interface like your wi-fi/network card won’t reach your Ghost process.

1 Like

My config file appears to be “locked”. Is the only way to change it via the CLI command line?

ghost config set server.host 0.0.0.0