Click here to Skip to main content
15,896,330 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Can I use other than 443 port for SSL communication in AZURE ?
eg: ServiceDefinition

<Sites>
      <Site name="Site1" physicalDirectory="..\..\..\Publish\Site1">
        <Bindings>
          <Binding name="Endpoint1" endpointName="Endpoint1" />
        </Bindings>
      </Site>
      <Site name="Site2" physicalDirectory="..\..\..\Site2">
        <Bindings>
          <Binding name="Endpoint2" endpointName="Endpoint2" />
        </Bindings>
      </Site>
    </Sites>
    <Endpoints>
      <InputEndpoint name="Endpoint1" protocol="https" port="443" certificate="site1cer" />
        <InputEndpoint name="Endpoint2" protocol="https" port="553" certificate="site1cer" />
    </Endpoints>
Posted
Updated 29-Sep-15 22:50pm
v4

1 solution

Short answer: yes, you can!

Long answer comes here: Can I use another port other than 443 for SSL communication?



SSL is in no way tied to a single port value; in fact, as a protocol, it can be used over any transport medium, as long as that medium provides a bidirectional stream for arbitrary bytes.

In a Web context, you can use any port other than 443, provided that you specify it in the URL: https://www.example.com:7342/foobar.html

Note that there are some networks (especially some free WiFi access points) that don't allow traffic over other ports than 443 or 80; which means that using a port other than 443, though perfectly standard and supported, may imply some practical usage restrictions.
 
Share this answer
 
v3
Comments
indyarock 30-Sep-15 5:04am    
Thank you, let me try and let you know soon
:)
Leo Chapiro 30-Sep-15 5:21am    
You are welcome!
indyarock 1-Oct-15 9:00am    
It is working well, but still i have many challenges to face like site1 and site2 has to use different Azure Active directory, storage accounts and site2 to be in Network security group(NSG). i will be keep asking questions if i stuck :).
Thank you CodeProject ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900