none
Can we set up https with a different port than 443 and http with a different port than 80 RRS feed

  • Question

  • Hi,

    I have a required of creating a web application with different http port than 80 and different https port than 443.

    Is it possible? I need to set up FBA on this

    It has a host header value not with server url


    Monday, December 9, 2019 5:42 AM

All replies

  • Hi spadminspadmin.

    There should be no problem in doing that: you can set any port for a SharePoint site: in the past I've created SharePoint web applications on different ports due to some requirements related to different authentication providers.

    Bye.


    Luigi Bruno
    MCP, MOS, MTA, MCTS, MCSA, MCSE

    Monday, December 9, 2019 11:04 AM
  • But the port needs to be a part of the url?

    like http://xyz.com:6789 or is it possible to set up like http://xyz.com

    Monday, December 9, 2019 9:59 PM
  • Multiple SSL Web Applications on port 443 (Sharepoint article)

    http://www.harbar.net/articles/ssl.aspx


    Ana Gauna | Senior Business Systems Analyst | MCSE Microsoft Windows Server | Rio de Janeiro | Brazil | If I helped you, mark the answer as useful

    Monday, December 9, 2019 10:06 PM
  • But the port needs to be a part of the url?

    like http://xyz.com:6789 or is it possible to set up like http://xyz.com

    It would have to have the port number. http://xyz.com is just shorthand for http://xyz.com:80. 

    Trevor Seward

    Office Apps and Services MVP



    Author, Deploying SharePoint 2019

    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Monday, December 9, 2019 10:14 PM
    Moderator
  • hope this will shed light on, why 443 and 80 being used, and can other port number be used. 

    https://www.howtogeek.com/233383/why-was-80-chosen-as-the-default-http-port-and-443-as-the-default-https-port/

    Doesn't mean that you have to user those port number. You can always use the port number between 1-65535.

    https://stackoverflow.com/questions/29414208/can-i-use-another-port-other-than-443-for-https-ssl-communication

    Thanks 


    • Edited by Ian Pokhrel Monday, December 9, 2019 10:19 PM
    Monday, December 9, 2019 10:16 PM
  • Hi Spadminspadmin,

    I am checking your situation here.

    Any progress on your troubleshooting?

    Best regards

    Itch Sun


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Tuesday, December 10, 2019 2:18 AM
  • But the port needs to be a part of the url?

    like http://xyz.com:6789 or is it possible to set up like http://xyz.com

    Yes, you should include it if you want to create a web application that uses a specific port: if you create a web application with an URL like http://xyz.com, it is implicitly assumed as it is http://xyz.com:80.

    Bye.


    Luigi Bruno
    MCP, MOS, MTA, MCTS, MCSA, MCSE

    Tuesday, December 10, 2019 12:31 PM
  • I think it is worth noting that there are very few, if any, valid reasons for using a port number other than 80/443 (and you should never use HTTP anyways, always implement SSL even on an internal-only web service).

    Using a non-default port will cause user frustration and confusion.


    Trevor Seward

    Office Apps and Services MVP



    Author, Deploying SharePoint 2019

    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, December 10, 2019 3:44 PM
    Moderator
  • I think it is worth noting that there are very few, if any, valid reasons for using a port number other than 80/443 (and you should never use HTTP anyways, always implement SSL even on an internal-only web service).

    Using a non-default port will cause user frustration and confusion.


    Trevor Seward

    Office Apps and Services MVP



    Author, Deploying SharePoint 2019

    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    I agree, Trevor.

    Bye.


    Luigi Bruno
    MCP, MOS, MTA, MCTS, MCSA, MCSE

    Tuesday, December 10, 2019 3:58 PM
  • Hi ,

    If you think the replies are helpful to you, please remember to mark them as answers. It will help others who meet the similar question in this forum.

    Thank you for your understanding.

    Best regards

    Itch Sun


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, December 12, 2019 8:02 AM
  • If you don't want to use port in the url, you will have to do a work around which will require you to use a different IP for this particular website and you will also have to include an external (physical or virtual router and nat port 80 to your custom internal port) it is however a longer approach but the only feasible one I could advise at this point other than which the only way for you to do is use the port in your url.

    Basheer Syed


    • Edited by Basheerssyed Thursday, December 12, 2019 1:13 PM
    Thursday, December 12, 2019 1:13 PM
  • If you don't want to use port in the url, you will have to do a work around which will require you to use a different IP for this particular website and you will also have to include an external (physical or virtual router and nat port 80 to your custom internal port) it is however a longer approach but the only feasible one I could advise at this point other than which the only way for you to do is use the port in your url.

    Basheer Syed


    No, you do not have to use a different port:ip combination for HTTP or SSL. For HTTP, you just have to supply a host header value. For SSL, you have to supply a host header value *and* enable SNI (given a single wildcard/SAN cert doesn't cover all IIS sites).

    Trevor Seward

    Office Apps and Services MVP



    Author, Deploying SharePoint 2019

    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Monday, December 16, 2019 3:52 PM
    Moderator
  • I never said you need a different IP:port combination for http or ssl. I said if there is a custom port defined for the website in the iis and you wish to access it externally without mentioning that custom port in your browser you will have to follow the process mentioned in my reply.

    Basheer Syed

    Thursday, December 19, 2019 7:36 AM