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 this to WAN?
相关问题
- Unusual use of the new keyword
- Get Runtime Type picked by implicit evidence
- What's the point of nonfinal singleton objects
- PlayFramework: how to transform each element of a
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- RDF libraries for Scala [closed]
- Why is my Dispatching on Actors scaled down in Akk
- How do you run cucumber with Scala 2.11 and sbt 0.
- GRPC: make high-throughput client in Java/Scala
- Setting up multiple test folders in a SBT project
- Testing request with CSRF Token in Play framework
- How to map an abstract collection with jpa?
It looks like setting system properties
http.address
andhttp.port
will now do this job, e.g.Would launch Activator on a WAN on port 80 (assuming matching permissions, etc).
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)
Base on Michael Nash's answer, but should be
for version 1.2.10