Unable to access Web-UI

Hi! I have setup a single node trino cluster on my linux machine. I am able to access the trino server via the CLI but for some reason the web ui for administration is not working.

This is what my config.properties looks like:

coordinator=true

node-scheduler.include-coordinator=true

http-server.http.port=8080

query.max-memory=5GB

query.max-memory-per-node=1GB

query.max-total-memory-per-node=2GB

discovery.uri=http://127.0.0.1:8080

web-ui.enabled=true

If I curl the discovery address, it doesn’t return anything.

Thanks!

Nvm, I solved it. The port was blocked :upside_down_face:

2 Likes

Ah great! I thought possibly it was a firewall issue or that you had just updated your configuration to add SSL. When you do that, it actually disables HTTP traffic by default and only allows HTTPS. There is an option to disable that though.

https://trino.io/docs/current/security/tls.html#configure-the-coordinator

You can read it in this section:

When your Trino coordinator has an authenticator enabled along with HTTPS enabled, HTTP access is automatically disabled for all clients, including the Web UI. Although not recommended, you can re-enable it by setting:

http-server.authentication.allow-insecure-over-http=true

I figured I would add this answer in case someone lands on this page with this issue :slight_smile:.