1

I am running my project, connected to a localhost database. Its required for me to create an azure function for continue my implementation. Is it anyhow possible to connect to the localhost db from azure function portal?

2
  • Not much specific to Azure Functions here. Your localhost has to be accessible from the internet to be accessible for Functions. Commented Oct 30, 2017 at 7:01
  • 1
    Maybe stating out the obvious, but do keep in mind (depending on your selected plan) your functions aren't running on the same underlying server every time they are invoked. Commented Oct 30, 2017 at 9:46

1 Answer 1

2

If you want your azure resources to connect to your on-premise resources you can take a look at VNETs or Hybrid Connections

note: both are not supported in Consumption Plan functions, only dedicated plan functions.

If you are asking about local development of functions, then you can run functions locally on your machine while you are working on them and they will have connection to any thing on your local dev box. See this for how to develop Azure Functions locally

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.