#๐Ÿ”’ POST request failing when deployed on EC2

19 messages ยท Page 1 of 1 (latest)

radiant axleBOT
#

@quartz lintel

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.

prime fulcrum
#

well let me ask the insultingly-obvious question: are you running some server on your EC2 box that is listening on port 3000?

quartz lintel
#

jesus

#

sorry

prime fulcrum
#

I kinda suspected that ๐Ÿ™‚

quartz lintel
prime fulcrum
#

"localhost" is a confusing hostname because it means different things depending on context ๐Ÿคฏ

quartz lintel
#

I guess I had to use ngrok now

prime fulcrum
#

dunno what that is

#

oh, to make your laptop's node.js thing "visible" on the ec2 box?

quartz lintel
#

to proxy my localhost on my machine to a public url

prime fulcrum
#

for just hacking, sure, I guess. But ultimately you'll want to run the node.js server in the cloud as well, I'd expect.

quartz lintel
#

Absolutely, but yeah, Thank you giving your time ๐Ÿ™‚

#

you're awesome

prime fulcrum
#

indeed I am ๐Ÿคฃ

#

๐Ÿ’

radiant axleBOT
#
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.