I understand there are tons of other related posts, but I still need help. I am using my IP to send post requests from Roblox to my external web app/database and am just now continuously getting the “HTTP 403 (Forbidden)” error.
Just last night and this morning I was able to use the same exact path (IP/port) to successfully post to my database (EDIT: that still works). I want to send a post with the same IP/port, but to another endpoint (I think I used the term ‘endpoint’ correctly). What is wrong?
Roblox Script – This script executes once messaging service publishes (from open cloud API)
local foundPlayer = findPlayer();
if not foundPlayer then
local success, err = pcall(function()
HttpService:PostAsync("http://IP:25565/v2", HttpService:JSONEncode({player = playerToKick}))
end)
if success then
print("SENT")
else
print(err) -- this prints
end
return
end
JavaScript Script – This should be fired right before messaging service publishes
EDIT: If it helps figure out an answer at all, I was not sure if player kick prompts filter swearing (they don’t, you have to filter the reason before kicking) and tried it within a public server. Could roblox moderation have caught this before I implemented tagging and flagged by IP somehow for example?
Honestly, i’m stumped. I’ve never seen an issue like that…
Since i can’t help, i’d advise you to check similar posts to try to find a solution. Good luck with your creation!
Nah, I doubt it, it should work perfectly fine on your PC.
Is the port open on your firewall? (In really simplified terms) If the port isn’t open, it means nothing from outside your network can connect to it, in this case, a Live Roblox server.
Assuming you’re on Windows, you should be able to open the port 25565 using the following command:
This is the “module” I have for listening to the port and receiving post requests. It starts listening to port 8080 from the index file and eventually should work with the post function.