Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

amit82ocp_172818 avatar image
amit82ocp_172818 asked ·

Unable to access web UI of OpsCenter running on GCP from a browser

Hello All,

I have installed, opscenter 6.7.7 on GCP linux however when i am trying to open console with http://ip address:8888 , it is not opening console on web browser.

Do i need to change anything in GCP machine?


Regards,

Amit

opscenterfirewallnetwork
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@amit82ocp_172818 It sounds like a networking issue. From the server command line, try running curl to browse to OpsCenter web UI:

$ curl -L http:opscenter_ip:8888

If that works, it most likely means there is no network connectivity between your laptop/PC and the server where OpsCenter is running. Check that there is no firewall blocking the access. If so, make sure that all the necessary ports are open. See the OpsCenter ports reference page for a list of ports required by OpsCenter. Cheers!

5 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hello @Erick Ramirez,

I am getting below error while using the curl with hostname and port.

Pasted my hosts file output also for your reference.

[cassandra@node3 ~]$ curl -L http:10.128.0.4:8888

curl: (6) Could not resolve host: http:10.128.0.4; Unknown error

[cassandra@node3 ~]$ curl -L http:169.254.169.254:8888

curl: (6) Could not resolve host: http:169.254.169.254; Unknown error


Regards,

Amit


0 Likes 0 · ·

Glad to hear this has now been fixed with the firewall policy. Just for you to know this command failed because the curl command should be the slashes http://169.254.169.254:8888 instead of http:169.254.169.254:8888. Enjoy.

0 Likes 0 · ·

Here the hosts file details.

[cassandra@node3 ~]$ cat /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

10.128.0.4 node3.us-central1-a.c.training-261005.internal node3 # Added by Google

169.254.169.254 metadata.google.internal # Added by Google


0 Likes 0 · ·

Hello All,


Please note that issue has been resolved, by enabling firewall rule for port 8888 and for my instance public ip address.

Thanks for all help here.


Regards,

Amit

0 Likes 0 · ·

Good to hear that you got it working. Cheers!

0 Likes 0 · ·