Solved

Connecting to ESX server via Internet

Posted on 2009-03-29
6
1,143 Views
Last Modified: 2012-05-06
I'm testing ESX server v3.5 since Wednesday. ESX (esx-3.5.0_Update_3-123630) is running on IP x.x.x.1 and I also installed VIM (VMware-VIMSetup-2.5.0-U3-English) with ip x.x.x.2.

On LAN everything is working fine. So I wanted to test connection from Internet. I opened ports 443 and 902 (903). Connection via the VMware Infrastructure Client or Web Access is working until I try to access console of any virtual machine. Here I have two error messages:

#1. if port 443 is forwarded to the VIM server
#2. if port 443 is forwarded to the ESX server

I already tried to open all possible combination of above ports on firewall. Now I'm lost and not sure where to search for error.

Thanks in advance
Error message #1
 
---------------------------
Error
---------------------------
Error connecting: Cannot connect to host <internal x.1 IP address>: 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
 
Do you want to try again?
---------------------------
Yes   No   
---------------------------
 
 
 
Error message #2
---------------------------
Error
---------------------------
Error connecting: Cannot connect to host <external ISP IP address>: No connection could be made because the target machine actively refused it
 
Do you want to try again?
---------------------------
Yes   No   
---------------------------

Open in new window

0
Comment
Question by:haldoxp
6 Comments
 
LVL 4

Accepted Solution

by:
lpacker earned 250 total points
ID: 24017755
You must open your 90x port access to the IP of the ESX server that hosts the virtual machine.
Are you opening these ports to each IP address or are you forwarding port numbers to a device?
 
0
 
LVL 3

Author Comment

by:haldoxp
ID: 24017825
I'm forwarding ports 443 and 90x to ESX server IP. I will test it one more time.
0
 
LVL 32

Expert Comment

by:nappy_d
ID: 24017910
Do you have a gateway configured on your service management kernel port?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 3

Author Comment

by:haldoxp
ID: 24017948
Is this the Configuration / DNS and Routing? If yes, then the GW is configured.
0
 
LVL 18

Assisted Solution

by:larstr
larstr earned 250 total points
ID: 24017967
Add the following line to your /etc/vmware/config file:
vmauthd.server.alwaysProxy=TRUE

Your client pc might also need to resolve both the short and FQDN of your ESX hosts and VC.

Lars
0
 
LVL 3

Author Comment

by:haldoxp
ID: 24623990
I'm sorry I didn't reply for very long time. I was involved into another P1 project (ended successfully). I will work on this during the week and will let you know the results.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How Veeam backs up VMs 5 117
VEEAM Basic Setup for 3 main locations 8 63
vmsn files 11 51
vSphere HA agent Alarms 3 41
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

772 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