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 :
Small and medium business | Business Central, N...
Suggested Answer

How to make port open for APIs

(1) ShareShare
ReportReport
Posted on by 244
Hi ,

I am currently using on-premise business central APIs. I am able to access it inside the particular server. However the port which is being used in API URL needs to be accessed outside of the server. i.e., those who have username and password should be able to access it. How make port open?
 
Thanks
I have the same question (0)
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Hi Sir,
     
    Business Central exposes an API that makes it possible to integrate with other services. To enable integration with these APIs, you must go through a few steps to enable APIs in Business Central.
    Once you have the API access enabled, you can write code that integrates your web service or SaaS solution with Business Central. 
     
     
    Best Regards,
    Judy
  • Suggested answer
    Rajaneesh H Profile Picture
    244 on at
    Hi @Judy,
     
     
    Thanks for the time and effort. However I have done these all steps. My question is that I am able to access it inside the particular server. However the port which is being used in API URL needs to be accessed outside of the server. i.e., those who have username and password should be able to access it. How make port open?
     
    Thanks again.
  • Judy Profile Picture
    Microsoft Employee on at
    Hi Rajaneesh,
     
    Please check the useful Documents to see if it can help:
     
    Best Regards,
    Judy
  • Suggested answer
    Chavda Dharmendra Profile Picture
    1,000 on at
    Hello Rajaneesh,
     
    For the On-premise, we need to Open the port to access API from outside the server.
     
    Open the port from "Firewall" and check.
    If it's Azure then Open the port from network.


    Open firewall ports in Windows.
    You can manually permit a program to access the internet by opening a firewall port. You will need to know what port it uses and the protocol to make this work.

    1. Navigate to Control Panel, System and Security, and Windows Firewall.
    2. Select Advanced settings and highlight Inbound Rules in the left pane.
    3. Right-click Inbound Rules and select New Rule.
    4. Add the port you need to open and click Next.
    5. Add the protocol (TCP or UDP) and the port number into the next window and click Next.
    6. Select Allow the connection in the next window and hit Next.
    7. Select the network type as you see fit and click Next.
    8. Name the rule something meaningful and click Finish.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans