VMware Server Remote Console - Cannot connect to host - Blank port


Had VMware Server 2.latest running fine on CentOS 5.recent for well over a year. We then increased RAM on this server and things went wrong, had to rerun the installer/config script. It then all worked again, could start up VMs again and they all work fine.

But the console is buggered. Logs don't give me anything useful but I think there's a strong hint in the error I get when trying to launch the console:

VMware Remote Console
Unable to connect to the MKS: Cannot connect to host A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Note that 123 isn't my true IP. The curious part is that it shows the colon, but no port number provided.

Hunting down /etc/vmware/hostd/proxy.xml shows no empty port tags. config.xml matches up with my known to be working backups too.

Of course, a ping from my Windows 7 client machine to fails. Without the colon, it works. Add 8222 or 8333 and ping doesn't work.

The port numbers didn't change at any point, so I can't see how it's a firewall issue. So clucthing at straws, does anyone have any ideas where the missing port number should be?

One attempt at launching the console for a particular VM (which I know is running) yields this in the hostd.log

[2011-10-28 09:56:58.368 'PropertyProvider' 1106782528 verbose] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.currentTime-17
[2011-10-28 09:58:17.521 'Proxysvc Req00118' 1106782528 warning] Exception while processing request: Connection reset by peer
[2011-10-28 09:58:17.521 'SoapAdapter' 1106782528 error] An error occurred reading the SOAP request: The HTTP client closed the stream prematurely.
[2011-10-28 09:58:17.522 'Proxysvc Req00119' 1080514880 warning] Exception while processing request: Connection reset by peer
[2011-10-28 09:58:17.522 'SoapAdapter' 1079720256 error] An error occurred reading the SOAP request: The HTTP client closed the stream prematurely.
[2011-10-28 09:58:19.035 'PropertyProvider' 47751372445984 verbose] RecordOp ASSIGN: info, haTask--vim.SessionManager.acquireCloneTicket-18
[2011-10-28 09:58:19.063 'vm:/home/vmware/vms/thevm/vminquestion/the-vm.vmx' 1099958592 info] Ticket issued for mks connections to user: user123
[2011-10-28 09:58:19.063 'PropertyProvider' 1099958592 verbose] RecordOp ASSIGN: info, haTask-80-vim.VirtualMachine.acquireMksTicket-19
[2011-10-28 09:58:20.393 'ha-eventmgr' 1080514880 info] Event 6 : User user123@ logged in
[2011-10-28 09:58:20.393 'PropertyProvider' 1080514880 verbose] RecordOp ASSIGN: latestEvent, ha-eventmgr
[2011-10-28 09:58:20.394 'PropertyProvider' 1080514880 verbose] RecordOp ADD: sessionList["52ae713c-1fd8-eda1-d842-ee5331b7d4fe"], ha-sessionmgr
[2011-10-28 09:58:22.919 'vm:/home/vmware/vms/thevm/vminquestion/the-vm.vmx' 47751372445984 info] Ticket issued for mks connections to user: user123
[2011-10-28 09:58:22.919 'PropertyProvider' 47751372445984 verbose] RecordOp ASSIGN: info, haTask-80-vim.VirtualMachine.acquireMksTicket-20

"/var/log/vmware/hostd.log" 391L, 41202C

It mentions some SOAP connection issues too.

Any ideas? Thanks!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duncan RoeSoftware DeveloperCommented:
You can't ping ports. But you can telnet to them - you might want to try that. e.g.
telnet 8222

Open in new window

T0PS3OAuthor Commented:
Thanks Duncan.

Using PuTTY as a Windows Telnet client to the IP running VMware and using the 8222 port times out (does nothing, black screen). To 8333 and the PuTTY window disappears immediately with an error sound.

From proxy.xml


I access the web access admin UI on 8333. Once in there, and launching the console, is it supposed to internally communicate over 8222? If not, which port does vmware by default use for the console?
T0PS3OAuthor Commented:
By the way, on my other Linux box I used to use VMware Player as a remote client to this VMware server, bypassing the need for the browser based console. Is there such a tool / alternate method available on Windows?
Need More Insight Into What’s Killing Your Network

Flow data analysis from SolarWinds NetFlow Traffic Analyzer (NTA), along with Network Performance Monitor (NPM), can give you deeper visibility into your network’s traffic.

Duncan RoeSoftware DeveloperCommented:
I do not know the vmware specifics. possibly 8222 is being dropped by a firewall?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
T0PS3OAuthor Commented:
Just in case somebody else gets this...

The issue was that when I re-ran config.pl I had entered the wrong port.

Remote port 902

That should have been it. So I re-ran the config once more, fixed the port and it all works again.

Thanks to duncan, I now know how to check ports being open. It led me to this tool:

T0PS3OAuthor Commented:
Figured out the true issue myself, but duncan led me on the way so some points his way.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.