Running a dash application on a server such that server can not access the data

How can I run a Dash application on a server using its IP address, given the following constraints: the required data is stored in an Oracle database that is accessible only from my computer, and the server cannot directly access the database? I want to code the application on my computer while ensuring it runs on the server’s IP.

Hey @Nimaano welcome to the forums.

You want to deploy the dash app to a server with a given IP and use a database running locally on your computer?

Hey @AIMPED
I do not want to code on server. I want to run on server but code on my computer because it can access the data sources required for application

I still do not understand what you are trying to do, unfortunately.

Take this pseudo code:

db = initiate database

app = dash.Dash()
app.layout = html.Div(...)

@app.callback(...)
def do:
    do something

app.run(debug=True)

Is the app running on your localhost? Do you want the app to be reachable from the internet? what about the db ?

suppose I have a server which has http://serverip I want to run application from my computer which has its own ip. How I can serve application on serverip

This sounds similar to what you do with www.ngrok.com. I think this is called reverse proxy.

Is it same as waitress-serve? If yes How can do it using waitress-serve for dash
Waitress — Flask Documentation (3.1.x)