Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

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

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? 

  • Sanjeet Dsouza Profile Picture
    Sanjeet Dsouza 5 on at
    RE: Random port number is taken even after specifying the port number.

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

  • Suggested answer
    A.Prasanna Profile Picture
    A.Prasanna 8,161 on at
    RE: Random port number is taken even after specifying the port number.

    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
    Sanjeet Dsouza 5 on at
    RE: Random port number is taken even after specifying the port number.

    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
    A.Prasanna 8,161 on at
    RE: Random port number is taken even after specifying the port number.

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans