#๐ POST request failing when deployed on EC2
19 messages ยท Page 1 of 1 (latest)
@quartz lintel
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.
well let me ask the insultingly-obvious question: are you running some server on your EC2 box that is listening on port 3000?
wait, shit, I forgot that we can only call localhost from locally
jesus
sorry
I kinda suspected that ๐
Thank you, I would have spent the next hour on this
"localhost" is a confusing hostname because it means different things depending on context ๐คฏ
I guess I had to use ngrok now
dunno what that is
oh, to make your laptop's node.js thing "visible" on the ec2 box?
to proxy my localhost on my machine to a public url
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.
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.