Cannot GET /myapp

123 views
Skip to first unread message

Anders Persson

unread,
Jun 23, 2019, 3:55:45 AM6/23/19
to PeerJS
Hi

I also tried to start a docker image and it is running

Built:

 sudo docker build -t peerjs https://github.com/peers/peerjs-server.git

Started:

sudo docker run -p 9000:9000 -d peerjs

Processes

root     19163  1608  0 Jun22 ?        00:00:00 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 9000 -container-ip 172.17.0.2 -container-port 9000
root     19191 19172  0 Jun22 ?        00:00:04 node bin/peerjs --port 9000 --path /myapp


When trying to connect I get an error so I used curl to see what the server respons.



<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /myapp</pre>
</body>
</html>


As I interpret the answer, the server is running but it does not find /myapp

Any thoughts about the cause of this?

Anders
Reply all
Reply to author
Forward
0 new messages