Unable to access influxdb

I installed influxdb as per link Get started with InfluxDB | InfluxDB OSS 2.0 Documentation
influxdb service is running and shows Active. netstat shows below output.

[root@balavm1 ~]# netstat -plnd | grep 8086 tcp6 0 0 :::8086 :::* LISTEN 25588/influxd

but http://localhost:8086/ says, site cannot be reached. when I try to do influx setup, I get below error.
Error: failed to setup instance: 404 page not found
I did the same install in another VM.(Virtual Machine)
here also influxdb service is up and neetstat shows 8060 port listen,
but
when i try to do influx setup, i get below error.

Error: failed to setup instance: unauthorized access
/var/log/influxdb doesn’t have any log file in both VMs.
I need to resolve this ASAP for an urgent POC. Can you please provide immediate help.