#๐Ÿ”’ I need help configuring my Python App on my Domain

39 messages ยท Page 1 of 1 (latest)

fluid joltBOT
#

@harsh seal

Python help channel opened

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.

harsh seal
#

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.

mild glen
harsh seal
#

I already have a domain for 1 year, what I don't know is how to host it there...

mild glen
#

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?

harsh seal
harsh seal
mild glen
#

if you've done it before then what exactly are you having trouble with?

harsh seal
#

I was able to open the port that Minecraft defaults to, but this is not possible... I don't know why.

mild glen
#

"this"?

#

Is your app listening on 127.0.0.1 or 0.0.0.0

harsh seal
#

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''

harsh seal
mild glen
#

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 ๐Ÿ’€

harsh seal
mild glen
#

for now, just pass host='0.0.0.0' as a keyword argument to app.run() inside of it

harsh seal
mild glen
#

but yeah you really should look into a different server before making that publicly accessible

harsh seal
#

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

mild glen
harsh seal
#

I think so

#

And the game itself doesn't let me set my own local IP

#

๐Ÿ‘‰๐Ÿ‘ˆ

mild glen
#

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

harsh seal
#

Can you at least tell me how I can access my local server?

mild glen
#

I do not get what you mean by local server

harsh seal
#

thank you

fluid joltBOT
#
Python help channel closed

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