How to set endpoint options in phoenix playground

I didn’t use PhoenixPlayground before. But are you exposing the default port on that remote machine? I assume something like this would work:

PhoenixPlayground.start(
  live: Demolive,
  port: 1234,
  endpoint_options: [
    server: true,
    http: [ip: {0, 0, 0, 0}]
    ])

note that usually the default port for http stuff is 80. but it really depends on how this remote machine is setup for you.