zivwu 0 Posted November 22, 2023 Share Posted November 22, 2023 I want the computer to connect to my flask server on the same computer, but an error occurs after the command r=internet.request('http://127.0.0.1:5000') print(r()) address is blacklisted Did I did anything wrong, or I need to do something else? Quote Link to post Share on other sites
0 Lizzian 46 Posted February 3 Share Posted February 3 OC has a default address whitelist that prevents connection to the host the MC server/game is running on, so in situations where the MC server is also hosted on the same server as a database server, it can't be reached from OC. Look in the OC config, there's a setting in there that controls what's on the whitelist Quote Link to post Share on other sites
I want the computer to connect to my flask server on the same computer, but an error occurs after the command
Did I did anything wrong, or I need to do something else?
Link to post
Share on other sites