Skip to main content

Questions tagged [flask]

Flask is a web application framework for Python.

1 vote
0 answers
54 views

What is the proper way to host multiple websites from the same machine and same ip address? [closed]

I have two Flask websites running on an ubuntu machine running on my home server. Both of them are running as a service with Gunicorn, one is on port 9000, the other is on 9001. I have registered a ...
Daniel's user avatar
  • 11
0 votes
1 answer
145 views

I can't reach a web server of my guest OS (Debian server) from my MacOS host via Parallels

I set up a Debian server VM in Parallels Desktop. I configured it to use the Bridge network. DHCP is enabled, however I configured the VM to use a static IP. On Debian within my VM the web server ...
Martin Braun's user avatar
0 votes
1 answer
64 views

IIS Flask: /Discovery/HTTPsvc/IISXferWanServer.DLL calling application several times a second

Saw a 404 being generated several times a second, after some debugging I found something is trying to call /Discovery/HTTPsvc/IISXferWanServer.DLL Can you suggest what it is and how I'd go about ...
pee2pee's user avatar
  • 493
1 vote
1 answer
1k views

is TCP handshake handled by web application flask or web servers like nginx?

if I run a simple flask application in development mode(so web server and web application is the flask library) on port 5000. is there a way to see SYN, SYN-ack, ack requests that are exchanged ...
kankan256's user avatar
  • 113
0 votes
2 answers
81 views

Run this line by line, or as a whole

I am trying to install flask. Docs say to make an environment: Create an environment Create a project folder and a venv folder within: Windows mkdir myproject cd myproject py -3 -m venv venv How ...
NotStanding with GoGotaHome's user avatar
0 votes
1 answer
497 views

How to install intel/amd64 OpenCL on tiangolo/uwsgi-nginx-flask:python3.10 (debian 10) docker container?

I am trying to make opencl work within a tiangolo/uwsgi-nginx-flask container. FROM tiangolo/uwsgi-nginx-flask:python3.10 RUN apt-get update #RUN apt-get install -y -f libcrypt-dev libssl-dev openssl ...
0x90's user avatar
  • 332
0 votes
1 answer
2k views

Trying to run app in another directory

We have a app that is run out of a specific directory, it uses flask (never worked with it before) and it is called from /home/automation_admin/rest-auto/production/TestLauncherApp Once in that ...
Steve Grosz's user avatar
0 votes
1 answer
5k views

Systemd service cannot find user files even though with correct absolute path

I have a flask app that has the following app.py file that includes a flask_apscheduler: from flask_apscheduler import APScheduler app = Flask(__name__) scheduler = APScheduler() app.config['...
JoeBe's user avatar
  • 103
0 votes
0 answers
35 views

How to see a local running webserver from a remote location

I would appreciate some pointers or help for my particular situation: (apologies if I mistake any terminology) The situation I have a desktop computer on location A running linux where I am doing ...
KansaiRobot's user avatar
1 vote
2 answers
150 views

How are databases stored for I website that I create and host [closed]

I am learning web development and I am using python (flask) along with HTML and CSS with bits of JavaScript. I want to know how I can connect a database (MySQL) to my website and where and how it will ...
rishi's user avatar
  • 113
0 votes
1 answer
720 views

How can I setup headers directives on my app engine?

So I was scanning my website for vulnerabilities and I found this one but I don't know how can I fixed it in the google cloud app engine: I really don't know where I should include the header ...
DeadSec's user avatar
  • 129
1 vote
1 answer
761 views

Not able to curl to my VM when ssh is working

I'm trying to run a simple flask server on an Ubuntu VM. I can ssh into it,with [email protected], but if I execute curl 123.456.789:8000 I get an operation timeout, even though the server is ...
Robinbux's user avatar
2 votes
1 answer
11k views

Sending HTTP request to another localhost only Docker container?

I am building a new microservice which is a Python Flask app that is fronted by gunicorn and can take and respond to HTTP get requests. It's kinda like a local proxy service to an external API. I ...
KillerKode's user avatar
2 votes
0 answers
931 views

uWSGI: No python application found

When I run my app with the command python sorteerhoed.py && uwsgi --socket 0.0.0.0:5000 --protocol=http -w wsgi:app It runs fine and when I goto the server ip:5000 I get to see my page. But ...
tom keuper's user avatar
-1 votes
1 answer
1k views

Save complex object during flask session

I need advice. My flask application has no database. I have a custom authorization system. I connect to the API service and during the user session, I make requests to it. Tell me where to save the ...
Alex's user avatar
  • 1

15 30 50 per page