Solved

How to disable redirect to port 8333

Posted on 2008-10-01
9
8,032 Views
Last Modified: 2012-05-05
Hi

I was just wondering how I can disable ssl redirect, and just use port 8222?
The server and its clients are all located on an (to others) inaccessible LAN segment, so I don't see the need for ssl.
I just want the best performance.
0
Comment
Question by:Ole_Brun
  • 4
  • 3
  • 2
9 Comments
 
LVL 7

Expert Comment

by:BogdanSUA
ID: 22619559
here's some notes from the release notes:

The default VI Web Access HTTP connection port is 8222 and the default HTTPS port is 8333. If you use these defaults, or any values other than 80 (HTTP) and 443 (HTTPS), you must specify the port number when you connect to VMware Server using VI Web Access. You must also allow connection to these ports through your firewall.
An example URL to connect to VI Web Access is http://server_host:8222 
If you want to use ports 80 (HTTP) and 443 (HTTPS), override the default values during installation.
Note: If you are running IIS or Apache web server on the default ports, specify alternate HTTP and HTTP ports when prompted by the Windows installer or vmware-config.pl. Alternatively, stop IIS's default Web site or any other Web site running on these ports. On Linux, shut down Apache or any other application using these ports and make sure they are not configured to restart automatically.

So maybe you can try vmware-config.pl

Is your host Windows or Linux?
0
 
LVL 7

Expert Comment

by:BogdanSUA
ID: 22619574
Pages 37-43 of the below PDF also go into deeper detail:

http://www.vmware.com/pdf/vmserver2.pdf
0
 

Author Comment

by:Ole_Brun
ID: 22626740
Thanks for the reply!

I have seen that document, and on page 48 it is stated:
"When you connect remotely, you are automatically redirected to the secure http
(https) port."
This is what I want to avoid. I do not want to be redirected to the https port.
I am running Windows btw.
0
 
LVL 7

Expert Comment

by:BogdanSUA
ID: 22629309
You'd have to break it in your TOMCAT config file that VMware installs.

Doing so will render your installation not operable with the vmrun command which can be used for scripting tasks via command line.  Are you super sure that you want to do this?

Its not really consuming a lot of resources if all its doing is listening.

And if you're the only one using it just access http://server:8222.  Pretty sure that doesnt redirect you.  I can test it out later tonight when I get home.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:Ole_Brun
ID: 22632510
Hi

Accessing http://server:8222 redirects to 8333.
It is not just the performance overhead that is the problem. I don't like that it asks me for client certificate each time. IE7 also complains about the certificate and advices me not to open the page...
But these things are maybe easy to fix!?
0
 

Expert Comment

by:JoeQca
ID: 22660158
I am looking for the same solution, I did notice however that you can hit port 8308 and ui works but I did find it a bit buggy. Also you need to use the complete URL http://servername:8308/ui/#. I am digging in the config files to see if their is a way to disable https redirect as well will try to report back.
0
 

Author Comment

by:Ole_Brun
ID: 22661147
Sounds good!
I think it is strange that this apparently is not supported in Server 2.0 since this always was a part of Server 1.0. One checkbox was all you needed to uncheck.
0
 

Accepted Solution

by:
JoeQca earned 250 total points
ID: 22662991
Well, I think I got it, their is an xml file you will need to modify (proxy.xml).  The default location of this file in windows is:
C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd\
for each endpoint list their is and access mode setting: <accessMode>...setting....</accessMode>
change this setting for all of them to: httpAndHttps and this should do the trick. Once done restart the server or just the VMWare services and all should be running under both ports, http 8222 and https 8333.
Let me know how this goes.
0
 

Author Comment

by:Ole_Brun
ID: 22666741
That did the trick!
Thank you heaps!
This should have been in the manual.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RAID, not sure what Type ?? 14 127
Vsphere 5.5 -- VM Consolidation Issue 10 79
VMware 6.0 second VCenter question 3 26
HP VSA on ESXi Best Practice 3 45
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…
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

910 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

22 Experts available now in Live!

Get 1:1 Help Now