Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans