I am unable to open the Dash on Chrome Browser. I have Dash installed on EC2 instance and set up port 80 to accept inbound requests. Did anyone face this issue before? Appreciate your help in resolving this.
Here is my code:
import dash_html_components as html
import dash_core_components as dcc
import pandas as pd
import numpy as np
from dash.dependencies import Input, Output
from plotly import graph_objs as go
from plotly.graph_objs import *
from datetime import datetime as dt
#create a dataframe for csv file
df1 = pd.read_csv(’/tmp/plot_tree.csv’)
#layout of the app
app.run_server(debug=True, port = 8050, host=“127.0.0.1”)
When I execute this code, the server is running.
[5 rows x 7 columns]
Running on http://127.0.0.1:8050/
Debugger PIN: 125-894-661
But, Browser is like this:
This site can’t be reached
127.0.0.1 refused to connect.
- Checking the connection
- Checking the proxy and the firewall