Solved

Connecting to ESX server via Internet

Posted on 2009-03-29
6
1,145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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.

734 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