Forum Discussion
api connection issues from local to fabric notebook
- 1 year ago
Hi AmanKumar
A local Flask application cannot be run directly in Microsoft Fabric notebooks.
This is because Fabric notebooks operate within an isolated network environment, which prevents direct access to local resources or servers like your Flask API.
Microsoft Fabric has security measures in place that prevent connecting to external local services within its environment
Try these:
Adapt Your Code: Rewrite your Flask app logic to work within Fabric’s notebook environment using PySpark and other supported libraries.
2. External API Deployment: Deploy your Flask app to a cloud service that provides a public URL, then make API calls to it from your Fabric notebook.please give kudos and accept this solution if this is helpful.
thanks
Nilendra
Hi AmanKumar ,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi AmanKumar ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Regards,
Menaka.