Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6919577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:00:32+00:00 2026-05-27T10:00:32+00:00

I previously enabled remote desktop in my Azure project to allow me to debug

  • 0

I previously enabled remote desktop in my Azure project to allow me to debug in our staging environment. This added a 3rd endpoint on port 3389 in addition to 80 and 443.

I’ve finished debugging and disabled remote desktop in the publishing wizard then did another deployment to staging. I then tried to do a VIP swap with our production instance, but Azure admin console is throwing an error due to staging have 3 endpoints and production have 2 (you can’t do a VIP swap between instances that have different # of endpoints).

Here’s what I’ve done to verify remote desktop is disabled:

  1. I’ve triple checked that in the publish wizard that I specific to have remote desktop disabled.
  2. The .azurePubxml has:

    <AzureEnableRemoteDesktop>False</AzureEnableRemoteDesktop>

  3. The cscfg has:

    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="false" />

4.My csdef has:

<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="mysite.App" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
<WebRole name="www" vmsize="Small">
<Sites>
<Site name="Web">
    <VirtualApplication name="r" physicalDirectory="../ReviewPost/ReviewPost" />
    <Bindings>
        <Binding name="Endpoint1" endpointName="Endpoint1" />
        <Binding name="Endpoint2" endpointName="Endpoint2" />
    </Bindings>
</Site>
</Sites>
<Endpoints>
  <InputEndpoint name="Endpoint1" protocol="http" port="80" />
  <InputEndpoint name="Endpoint2" protocol="https" port="443" certificate="STAR.mysite.com" />
</Endpoints>
<Imports>
  <Import moduleName="Diagnostics" />
  <Import moduleName="RemoteAccess" />
  <Import moduleName="RemoteForwarder" />
</Imports>
<Certificates>
  <Certificate name="STAR.mysite.com" storeLocation="LocalMachine" storeName="My" />
</Certificates>
</WebRole>
</ServiceDefinition>

Despite the above configuration, the azure console is showing 3 endpoints (port 80, 443 and 3389) for the staging environment.

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:00:32+00:00Added an answer on May 27, 2026 at 10:00 am

    Based on information from @smarx in the MSDN forums mirror of my question here’s the solution:

    Remove these lines from your .csdef:

    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    

    These 2 lines control the creation of the extra endpoint even though remote access may be disabled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have deployed a Worker Role to an Azure instance with remote access enabled.
I currently have html markup stored in xsl and xml. This has previously enabled
Previously, I asked the question . The problem is the demands of our file
Previously we had desktop applications but given the fact that accessing the server (either
Azure web role (MVC 3 project) wont' start with Twilio controller class I have
We are updating our codebase to use the namespace functionality provided in PHP-5.3+ Previously,
I'm setting up my first Hudson + Git project (previously done many with Hudson
I have a Silverlight 4 Business Project where I have enabled the ASP.NET Authentication/Authorization
#+FollowSymLinks must be enabled for any rules to work, this is a security #requirement
i asked this question previously in vb.net but i want to do it in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.