Python Forum
Access Flask Web App from External Browser - IIS - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Access Flask Web App from External Browser - IIS (/thread-21135.html)



Access Flask Web App from External Browser - IIS - fioranosnake - Sep-16-2019

HI,

I have moved over to Python Web Development from aspx and VB. I have create a simple flask web app using vs2019 that runs perfectly in LocalHost on IIS. I have previously been able to create a simple vb webapp and access it after I have updated the bindings for a web application in IIS.

I have tried to do the same with the Python web app. Although when I access the IP address of the server, I get a blank page (with no error)... Can anyone help or offer any advice on access the web app from an external browser please?

Many thanks,

FioranoSnake


RE: Access Flask Web App from External Browser - IIS - ndc85430 - Sep-16-2019

What is the status code of the response? Is the server actually receiving the request and processing it?


RE: Access Flask Web App from External Browser - IIS - fioranosnake - Sep-16-2019

Hi, I get a blank screen.. How can I check if the server is receiving the request?


RE: Access Flask Web App from External Browser - IIS - ndc85430 - Sep-16-2019

I know you get a blank screen. Check the status code of the request in the browser, or use a tool like curl to make the request on the command line. Remember that it's returned in the request headers, not the body.

As for checking that the server is receiving the request, are you logging anything when you process the request? If not, do so.