Answer the question
In order to leave comments, you need to log in
Scala/Play how to get to the activator on VPS?
With the command activator ui. The server starts fine and says
Found previous process id: 22835
Local repository: activator-launcher-local @ file:/root/activator-1.3.10-minimal/repository
Play server process ID is 23384
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /127.0.0.1:8888
[info] aesSlf4jLogger - Slf4jLogger started
Unable to open a web browser!
Please point your browser at:
127.0.0.1:8888
But when you connect to the server's ip address + port 8888, nothing opens. Who knows what's the problem?
While a normal application, with the command
activator run
[info] Loading project definition from /myAppScala/project
[info] Set current project to myAppScala (in build file:/myAppScala/)
--- (Running the application, auto-reloading is enabled) ---
[info] pcsNettyServer - Listening for HTTP on /0:0:0: 0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)
Works great on server ip and port 9000
Answer the question
In order to leave comments, you need to log in
So he writes in Russian.
[info] play - Listening for HTTP on /127.0.0.1:8888
Please point your browser at:
127.0.0.1:8888
This means that the port has risen only on the localhost and is not accessible from the outside.
And this
[info] pcsNettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
means that the port is up on all available interfaces.
Either edit the settings so that the port listens on the external ip or use Apache / nginx to proxy requests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question