• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1154
  • Last Modified:

Connecting to ESX server via Internet

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
haldoxp
Asked:
haldoxp
2 Solutions
 
lpackerCommented:
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
 
haldoxpAuthor Commented:
I'm forwarding ports 443 and 90x to ESX server IP. I will test it one more time.
0
 
nappy_dThere are a 1000 ways to skin the technology cat.Commented:
Do you have a gateway configured on your service management kernel port?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
haldoxpAuthor Commented:
Is this the Configuration / DNS and Routing? If yes, then the GW is configured.
0
 
larstrCommented:
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
 
haldoxpAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now