[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8093
  • Last Modified:

How to disable redirect to port 8333

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
Ole_Brun
Asked:
Ole_Brun
  • 4
  • 3
  • 2
1 Solution
 
BogdanSUACommented:
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
 
BogdanSUACommented:
Pages 37-43 of the below PDF also go into deeper detail:

http://www.vmware.com/pdf/vmserver2.pdf
0
 
Ole_BrunAuthor Commented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
BogdanSUACommented:
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
 
Ole_BrunAuthor Commented:
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
 
JoeQcaCommented:
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
 
Ole_BrunAuthor Commented:
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
 
JoeQcaCommented:
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
 
Ole_BrunAuthor Commented:
That did the trick!
Thank you heaps!
This should have been in the manual.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now