#๐ I need help configuring my Python App on my Domain
39 messages ยท Page 1 of 1 (latest)
@harsh seal
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
I must clarify that I still don't know anything about programming with Python, but I am studying it, a complete beginner.
I have the server running on this local port, and I want it to be on my domain, I already opened port 5000 on my router.
Do you plan to host it yourself (= keep your computer or something like a Raspberry PI on 24/7 and take responsibility for any and all security related aspects), do you already have a host in mind, or you have no idea whatsoever?
Yes, that's what I want, I have a computer that will do that procedure 24/7
I already have a domain for 1 year, what I don't know is how to host it there...
honestly I cannot really recommend that, but TL;DR you have to make it publicly accessible by exposing a port to the public internet, then configure your domain (wherever you purchased it) so that it points to your IP address
where did you purchase it from?
I know the risks, and I've done it before
if you've done it before then what exactly are you having trouble with?
I was able to open the port that Minecraft defaults to, but this is not possible... I don't know why.
Basically, 1 The port, 2 I don't know how to host the pyton app in the Domain, 3 I don't know why it says that the port is not open, if you configure it ''correctly''
I'm big on hosting an application on a domain haha, I don't know how to do it.
set it to host on 0.0.0.0 instead if you want to accept all incoming external connections
and I sure hope that this red text isn't the flask warning about using the default server ๐
I assume that is done by configuring this file, right?
for now, just pass host='0.0.0.0' as a keyword argument to app.run() inside of it
but yeah you really should look into a different server before making that publicly accessible
How can I connect to my own local server before making it public... let's start there, if you have time please.
The game that requires the server gives me this
you already have when you opened localhost on your browser?
not sure, but anyway at this point I recommend for you to look up online guides
we can help get an overall idea of how to structure something from a high level view, or help with individual specific questions, but guiding over a moderately large project can take quite a while and there's already a lot of material explaining it in enough detail out there
Can you at least tell me how I can access my local server?
I do not get what you mean by local server
Nothing, forget it, I will refund the domain and get out of this
thank you
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
๐ I need help configuring my Python App on my Domain