VMware Cloud Community
samharber
Contributor
Contributor

Unable to connect to vCenter 6 web client

Good morning all,

I did a bad thing. I made a change to the DNS settings somewhere in the vcenter web client, and forgot to document it. When I came back to it after lunch, the page had refreshed and just shows a DNS error.

When I connect to https://10.99.123.1/vsphere-client/?csp

IE shows "Make sure the web address https://vcenter.company.internal is correct"

Chrome shows "Unable to resolve the server's DNS address"

I can connect via SSH, and there appears to be nothing wrong in either /etc/resolv.conf or etc/sysconfig/network/config

Is there anywhere else to look for config files?

It's an inherited system that I'm trying to rationalise. Unfortunately restoring from backup is not an option at the moment, as the backup server is powered down on an ESXi 5.5 host that nobody has the root password for.

Any help would be much appreciated.

0 Kudos
5 Replies
linotelera
Hot Shot
Hot Shot

Hi

a transitory way to connect to vcenter could be an entry in file /etc/hosts in your PC/MAC...

0 Kudos
vHaridas
Expert
Expert

what is the version of vCenter?

check if vCenter services are running?

Check log files for any errors.

have you tried to login using VI Client?

Check if your local systems DNS IPs are correct.

Changing the hostname of vCenter 6 or PSC 6 is not supported.

Changing the vCenter Server or Platform Service Controller 6.0 hostname (2130599) | VMware KB

-

Haridas

http://www.vprhcs.in/

Please consider awarding points for "Correct" or "Helpful" replies. Thanks....!!! https://vprhlabs.blogspot.in/
0 Kudos
samharber
Contributor
Contributor

Thanks for the replies.

I've managed to get the backup server online (I'd forgotten about the vSphere Client allowing read-only mode) and I'm restoring from the last backup before I made any changes.

Apologies for wasting your time.

0 Kudos
vHaridas
Expert
Expert

Good to know you are able to fix it.

any other issues, feel free to post here.

-

Haridas

http://www.vprhcs.in/

Please consider awarding points for "Correct" or "Helpful" replies. Thanks....!!! https://vprhlabs.blogspot.in/
0 Kudos
linotelera
Hot Shot
Hot Shot

Sorry for my confused answer... A mean:

connecting to vcenter, after a DNS problem, is possible by adding an entry in /etc/hosts file of your client. obviously this is not a definitive solution, but a method used in emergency.

Like said to vHaridas (and confirmed in the KB) is not possible to change hostname/ip.

Regards

0 Kudos