How to force Typesafe Activator to listen 0.0.0.0:8888

前端 未结 3 1696
感动是毒
感动是毒 2021-02-07 14:33

I recently installed Typesafe Activator to a VM. Applications created by activator can be accessed after port forwarding, but Activator seems to listen localhost. How to change

3条回答
  •  一向
    一向 (楼主)
    2021-02-07 15:18

    It is hardcoded right now and there's no way to change short of recompiling from source. https://github.com/typesafehub/activator/blob/master/ui/app/activator/UIMain.scala#L99

    Maybe we could prefix this with if (System.getProperty("http.address") == null) File an issue on github?

    Update: this is now fixed so that -Dhttp.address works (and above source link no longer goes to the right place)

提交回复
热议问题