Connect to Oracle database running on host from Docker Container [on hold]

I am new to the container world and am creating a sample application to mimic my desktop app.

I’m able to successfully create an Asp .NET core app and run it in a container. However, when I try to open a connection to my Oracle Database, I end up getting a local host connection error. Through some trial and error, it looks like it has to do with trying to open the connection when the application is starting. What is the proper configuration to access the database on my host machine?

Source: StackOverflow