0

I am currently running code-serve on a Raspberry Pi and connecting to it via both wifi and ethernet over USB-C. I have zero problems with this.

I can run the remote apps through Code Server from the iPad but to do so I need to set the host host of the properties in the app’s project.json file:

{
   …
   “serve” : {
      …
      “options”: {
         “host” : “0.0.0.0”,
         “port”: 4201
      }
   }

If I run Nx for the dev remote I can access the local site via http://<raspberry-pi-ip>:4201.

However when I try the same for the parent shell app, I get nothing (i.e. what would be localhost:4200) but the host app doesn’t seem to see the remote app.

I changed the host in the host application as well so both host and remote app should be running on 0.0.0.0 so that they are accessible from the iPad.

Anyone able to advise what the host settings should be?

Bren Gunning
  • 153
  • 2
  • 9

0 Answers0