VMware Cloud Community
Techman5
Contributor
Contributor
Jump to solution

Vsphere client could not connect (unable to connect to the remove server)

I am unable to login to my vsphere server with the following error message

"Vsphere Client could not connect to "ip address" an unknown connection error occured (the request failed because of a connection failure (unable to connect to the remove server).

I can ping the IP address of the host server etc. Upon further investigation i noticed that the following services are not running

- VMware VirtualCenter Server

- VMware HTTP Reverse Proxy

- VMware vService Manager

However when i try and start them, they are unable to start due to error 1068, dependency service or group failed to start

I have checked the reg edit to make sure there isn't any legacy dependant services but no joy.

Any tips?

Reply
0 Kudos
1 Solution

Accepted Solutions
msripada
Virtuoso
Virtuoso
Jump to solution

process id 4 is system so some Microsoft service is using port 80.. If you can check kb in my previous reply and stop those services then it would fix the issue..

Branch cache service

Bits service

Iis service etc are few of them

View solution in original post

Reply
0 Kudos
14 Replies
KocPawel
Hot Shot
Hot Shot
Jump to solution

Can you give more details like versions, is it windows or appliance, PSC embedded or external?

Reply
0 Kudos
msripada
Virtuoso
Virtuoso
Jump to solution

is it windows or appliance? if its windows i belive port 80/443 is being used by some service ...

open command prompt -> netstat -anob |findstr 80

validate the output and check if that is being used ..if yes, we need to stop few services in kb VMware Knowledge Base

Thanks,

MS

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

PSC embedded - yes

Windows Server 2012 R2 Standard- version 6.3.9600 Build 9600

Thanks for your response

Reply
0 Kudos
msripada
Virtuoso
Virtuoso
Jump to solution

Did you try the steps i suggested? whats the output of netstat?

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

See above versions for your info.

netstat result returned the following

Veeam.Backup.MountService     5804 Services                   0     44,920 K

java.exe                      4252 Services                   0    273,776 K

vmware-updatemgr.exe          2940 Services                   0     34,988 K

Veeam.Backup.Agent.Config     3172 Services                   0     31,456 K

svchost.exe                    780 Services                   0     14,928 K

vmware-converter.exe          2856 Services                   0     36,780 K

java.exe                      4252 Services                   0    273,776 K

vmware-updatemgr.exe          2940 Services                   0     34,988 K

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

Sorry yes, see above

Reply
0 Kudos
msripada
Virtuoso
Virtuoso
Jump to solution

pls run netstat -anob |findstr 80

Please share this output

If possible please get the vpxd.log from programdata\vmware\vcenterserver\logs\vmware-vpx

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4

TCP    0.0.0.0:6170           0.0.0.0:0              LISTENING       5804

TCP    0.0.0.0:7080           0.0.0.0:0              LISTENING       4252

TCP    0.0.0.0:8084           0.0.0.0:0              LISTENING       2940

TCP    0.0.0.0:9380           0.0.0.0:0              LISTENING       3172

TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       780

TCP    [::]:80                [::]:0                 LISTENING       4

TCP    [::]:7080              [::]:0                 LISTENING       4252

TCP    [::]:8084              [::]:0                 LISTENING       2940

TCP    [::]:49153             [::]:0                 LISTENING       780

TCP    [::1]:54180            [::1]:389              TIME_WAIT       0

TCP    [fe80::a4fa:e9e0:2998:be12%14]:389  [fe80::a4fa:e9e0:2998:be12%14]:5412

  TIME_WAIT       0

TCP    [fe80::a4fa:e9e0:2998:be12%14]:54172  [fe80::a4fa:e9e0:2998:be12%14]:38

  TIME_WAIT       0

UDP    127.0.0.1:54800        *:*                                    3448

UDP    [fe80::41d3:413c:3c41:2e8%12]:546  *:*

  780

UDP    [fe80::a4fa:e9e0:2998:be12%14]:546  *:*

   780

See above results.

Log attached also

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

Does the above help at all?

appreciate your help

Reply
0 Kudos
msripada
Virtuoso
Virtuoso
Jump to solution

process id 4 is system so some Microsoft service is using port 80.. If you can check kb in my previous reply and stop those services then it would fix the issue..

Branch cache service

Bits service

Iis service etc are few of them

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

The only service using PID is system, which wont cause a conflict from what i read.

is there anything else in the logs that could be causing the issue?

Reply
0 Kudos
msripada
Virtuoso
Virtuoso
Jump to solution

it will cause conflict..  Without port 80/443 center service will not start and no point further troubleshooting this

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

Can you provide any assistance on how i am able to stop the system service from using port 80?

Reply
0 Kudos
Techman5
Contributor
Contributor
Jump to solution

Update! i stopped the "world wide publishing service" which was using port 80 but comes under the "system " service and everything is now working

thank you very much for your help!

Reply
0 Kudos