Dash in Citrix not able to reach the localhost

When I run this code in the citrix environment, I can not open the

app.run_server(debug = False)

It is always ’ This site can’t be reached refused to connect.’
When I change it to ‘‘debug = True’’, it shows the following

An exception has occurred, use %tb to see the full traceback.

SystemExit: 1

I have also tried other port but did not work.
Has anybody know how to run the dashboard in Citrix?