streaming-university / public-moq-vs-dash

A testbed for MOQ Transport and DASH protocols
11 stars 0 forks source link

Unable to Access Server at https://localhost:5173 After Running make dev #3

Open ulen2000 opened 3 months ago

ulen2000 commented 3 months ago

Description: After running the command make dev, the server should be accessible at https://localhost:5173. However, when attempting to access this URL, the following message is displayed: "This site can’t be reached."

Additional Information:

✔ Container dash-origin                         Created                                                                      0.1s
✔ Container cockpit-server                      Created                                                                      0.1s
✔ Container public-moq-vs-dash-install-certs-1  Created                                                                      0.1s
✔ Container relay                               Created                                                                      0.1s
✔ Container demo                                Created                                                                      3.7s
Attaching to cockpit-server, dash-origin, demo, install-certs-1, relay
install-certs-1  | go: downloading github.com/kixelated/mkcert v1.4.4-days
install-certs-1  | go: downloading golang.org/x/net v0.0.0-20220421235706-1d1ef9303861
install-certs-1  | go: downloading software.sslmate.com/src/go-pkcs12 v0.2.0
cockpit-server   | Cockpit WebSocket server listening on 8000
install-certs-1  | go: downloading golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29
install-certs-1  | go: downloading golang.org/x/text v0.3.7
dash-origin      | Finished parsing cmd line:
dash-origin      | data_root:            /app/data
dash-origin      | server_port_ingest:   8079
dash-origin      | server_port_delivery: 8080
dash-origin      | server_proto:         http
dash-origin      | Listening for ingest on port:   8079
dash-origin      | Listening for delivery on port: 8080
install-certs-1  | The local CA is already installed in the system trust store! 👍
install-certs-1  |
install-certs-1 exited with code 0
relay            | Running in development mode
demo             |
demo             | > mhv-2024-moqt-demo@0.0.0 dev
demo             | > vite
demo             |
demo             |
demo             |   VITE v5.4.0  ready in 168 ms
demo             |
demo             |   ➜  Local:   http://localhost:5173/
demo             |   ➜  Network: http://172.18.0.5:5173/
netstat -ntlp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:4443            0.0.0.0:*               LISTEN      -
tcp        0      0 10.255.255.254:53       0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:5173            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8079            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      -
tcp6       0      0 :::4443                 :::*                    LISTEN      -
tcp6       0      0 :::5173                 :::*                    LISTEN      -
tcp6       0      0 :::8000                 :::*                    LISTEN      -
tcp6       0      0 :::8079                 :::*                    LISTEN      -
tcp6       0      0 :::8080                 :::*                    LISTEN      -
DenizUgur commented 3 months ago

Apperantly, HTTPS was commented out. Could you try uncommenting and trying again?

https://github.com/streaming-university/public-moq-vs-dash/blob/fe50742ffb6405e6d27821f073feaad64b87d5c8/repos/demo/vite.config.ts#L7

zafergurel commented 3 months ago

It also works with http and can be accessed at http://localhost:5173.

ulen2000 commented 3 months ago

image

Yes, I uncommented it, but https://localhost:5173/ still shows 'ERR_CONNECTION_TIMED_OUT'.

Actually, before I uncommented, I also tried http://localhost:5173/, but I got the same result...

image