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

Posted on 2011-10-28
Last Modified: 2012-05-12

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!
Question by:T0PS3O
    LVL 34

    Expert Comment

    by:Duncan Roe
    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

    LVL 1

    Author Comment

    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?
    LVL 1

    Author Comment

    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?
    LVL 34

    Accepted Solution

    I do not know the vmware specifics. possibly 8222 is being dropped by a firewall?
    LVL 1

    Assisted Solution

    Just in case somebody else gets this...

    The issue was that when I re-ran 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:
    LVL 1

    Author Closing Comment

    Figured out the true issue myself, but duncan led me on the way so some points his way.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
    VMware Update Manager(VUM) “error code: 15” during ESXi 6.0 Remediate update in VUM operation
    Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
    In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now