How-to enable web access in ESX 4


If you need to access your ESX 4.0 server through your web browser via HTTPS, you might not succeed at first try. You will receive an error “503 Service unavailable”. So what to do?

How-to access ESX 4.0 server wia Web Browser and https

01.) You first I check for the service if it’s running or not. Go to the console and log in. Then type in following command to see if the service is running : (it’s case sensitive)

service vmware-webAccess status

02.) Start the service:  service vmware-webAccess start

It seems that this service is disabled by default. Then, if you need to have web access enabled every time your start your ESX Server, then you can do it by executing folowing command:

chkconfig –level 345 vmware-webAccess on

How-to access ESX 4.0 server wia Web Browser and https

How-to access ESX 4.0 server wia Web Browser and https

Vladan SEGET

Vladan is an Independent consultant, vExpert, VCP and owner of this website. This website ESX Virtualization started as a bookmarking site, but very fast found itself many readers and supporters. Feel free to network via Twitter @vladan

More Posts - Website - Twitter - Facebook - LinkedIn - Google Plus

You may also like:

  1. VMware vCenter Mobile Access (vCMA) first look
  2. How-to root access VMware ESX Server from WinSCP, Putty and others…
  3. VMware vCenter Mobile Access Technology download
  4. Web access your VMWare ESX server
  5. Free Performance Monitoring tool for ESX Server – VM Monitor from Solarwinds
  6. ESX Server Independant disk access mode, persistent and nonpersistent modes
  7. how-to activate SSH in ESXi
  • canltvizle

    Thanks Vladan,

    I was unable to login via webAccess

    • http://www.vladan.fr Vladan

      I suppose that you're trying to enable webaccess on ESX 4 (not ESXi 4). Because the in ESXi 4 there is no webaccess..

  • sk8killer

    you said : “chkconfig –level 345 vmware-webAccess on”

    but I assume you meant “–level” (in case people would do copy-paste)

    thanks.

  • newengand

    Thanks man, really helped me out there

    • http://www.vladan.fr Vladan

      I keep it here also for me… In case I forgot… -:) Just kidding.

  • http://bassdrummallets.info Bass Drum Mallets

    Excellent articles & Good site….

  • luca

    To disable VMware Web Access:

    1.
    Log in as root to the ESX host using an SSH client.
    2.
    Run this following command to stop the VMware Web Access service:

    service vmware-webAccess stop

    3.
    To prevent the service from starting again upon reboot, run the command:

    chkconfig –-level 345 vmware-webAccess off

    4.
    After disabling the Web Access service you can browse the index page of the ESX host and download the VMware Infrastructure or vSphere Client from it, but you cannot log into Web Access from the page.

    To enable VMware Web Access:

    1.
    Log in as root to the ESX host using an SSH client.
    2.
    Run this command to determine if the VMware Web Access service is running:

    service vmware-webAccess status

    3.
    Run this command to start the VMware Web Access service:

    service vmware-webAccess start

    4.
    To enable the service to start upon reboot, run this command:

    chkconfig –level 345 vmware-webAccess on

    Note: The ESX firewall must allow webAccess communication or the service will not start when ESX 4.0 boots. To enable webAccess in the ESX firewall, run the following command on the ESX host:

    esxcfg-firewall –enableService webAccess

    5.
    If the VMware Web Access does not start after rebooting ESX:
    1.
    Select the ESX host in vSphere Client.
    2.
    Click the Configuration tab > Security Profile.
    3.
    Check vSphere Web Access, then run the following command on the ESX console:

    chkconfig –level 345 vmware-webAccess on