- Server operating system version
- Debian 11
- Plesk version and microupdate number
- 18.0.65 #2
I'm currently working on a student project that requires me to deploy a super simple API. Since it's quite portable and easy to configure I've opted to use flask and since I already own a vserver that runs Plesk, I've figured I could just keep it running there as long as I need it. However when I just deployed it by running it with python on port 54447 I could not get it to work at all, even though it works on my local machine.
I pretty much just want to be able to type http://<my-ip>:54447 and interact with the API.
I tried setting up the NGINX-Proxy like here: Question - how to access python flask on my server?
I also tried setting up apache2 with additional directives like so:
Nothing seems to work, and I don't want to change configuration files by hand, since I may have already broken a previous Plesk installation that way ;-)
When I enter the domain with the port in my browser, it just seems to continue loading.
I would greatly appreciate any suggestions. I really just want to deploy the app, have it running for a few weeks and then shut it down again.
Thank you!
I pretty much just want to be able to type http://<my-ip>:54447 and interact with the API.
I tried setting up the NGINX-Proxy like here: Question - how to access python flask on my server?
I also tried setting up apache2 with additional directives like so:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
<Location "/">
ProxyPass "http://127.0.0.1:54447/"
ProxyPassReverse "http://127.0.0.1:54447/"
</Location>
Nothing seems to work, and I don't want to change configuration files by hand, since I may have already broken a previous Plesk installation that way ;-)
When I enter the domain with the port in my browser, it just seems to continue loading.
I would greatly appreciate any suggestions. I really just want to deploy the app, have it running for a few weeks and then shut it down again.
Thank you!