Forums

Add server to my Whitelist

Hi. I hope that this is the right way to ask you something. I have a simple python script and a free PythonAnywhere account and I need to connect through the urlopen method (I tried with urllib3 and now urllib.request) to my server where I have my api files. The server is 94.177.170.7 and there I have the files I need to call php and json. But when I use the url open i get the error "HTTP 403 Forbidden" with urllib.request, while with urllib3 i get something lime "Connection refused". I have read about proxy problem or sites whitelist, so I'm here to ask you if you can add that server to my whitelist, so I can request my server to get Api files. Thank you.

Unfortunately we can only add sites to the whitelist if they are official public APIs.

Hi, I have a similar setup - free account and script the uses the request module. However, mine is a public API. Can you please whitelist https://api.loftysms.com ? Here's the link to the API doc - https://www.loftysms.com/docs/?bash#introduction.

Thank you,

Sure! That's whitelisted now.

Thanks, again

No problem!