web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Random port number is taken even after specifying the port number.

(0) ShareShare
ReportReport
Posted on by 5

I am trying to Create a new database farm using SharePoint configuration wizard. i am giving dedicated port number 1433 but its taking random port number. How do i solve that? 

I have the same question (0)
  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    1433 port is using by SQL servers so better not to use it for any other application if you are running the configuration wizard most of the time it will take random port numbers for the central administration but you can specify the port number, better to use 5 digit port number less than 65635 refer the following table as a guideline 
    1588.unnamed.jpg

    Thanks,

    Amith

  • Sanjeet Dsouza Profile Picture
    5 on at

    Hello Amith,

    I tried giving random 5 digit number but it still throws the below error. The port is not used by any other process. I have been working on this from past 3 days.

    Trying to see if port 25157 is free on machine AOS-VMSRV.  Min port we will try is 1024, Max port we will try is 49151

    11/10/2020 09:29:03  1  INF            A SocketException was thrown with SocketError ConnectionRefused

    11/10/2020 09:29:03  1  INF            Connect has been refused for port 25157, so we will consider this a free port

    11/10/2020 09:29:03  1  INF            Have not found a free port yet.  Number of tries is 1.  Min port we will try is 1024,

  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    if you have Sharepoint Server and AOS Server separately ( Mean Not One Box ), temporarily disable/Turn Off firewall and try to configure again, you must turn off firewall on both EP and AOS Servers.

  • Sanjeet Dsouza Profile Picture
    5 on at

    No. Sharepoint & AOS server are on same box. Firewall is off too.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans