Use port 80 instead of port 5601 to access opensearch dashboard

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.14 on ubuntu 18.04

Describe the issue:
Users want to access the dashboard without specify the port 5601
Can i change it to port 80 ?

Configuration:

Relevant Logs or Screenshots:

Hi @koby058,

Yes, you can do that easily by specifying the port in your opensearch_dashboards.yml


server.port: 80

Make sure your firewall is allowing traffic to the chosen port and if it’s free to use.

Best,
mj

Hi @Mantas

thanks for your help!

I have tried to do so but after restarting the service i can no longer access the dashboard by http web browser

Do you see any errors in the logs?

I see no logs

this is the error in browser: refused to connect.

which logs should i look in ?

Your OpenSearch nodes’ and Opensearch-Dashboard logs, there should be an error message with more details.

best,
mj