I have a script that I have hosted on the server but it's rest api integration in a function requires the IP address to be in the Netherlands I need a way to turn on the connection to the IP address and port 8080 when I run the script
I have a script that I have hosted on the server but it's rest api integration in a function requires the IP address to be in the Netherlands I need a way to turn on the connection to the IP address and port 8080 when I run the script
Free accounts have restricted outbound internet access, if you want to connect to an IP address, please consider upgrading your account.
I already have a plan to upgrade the account but I need a code block script to integrate the IP address change,
Could you explain a bit more about what you’re trying to achieve and what specifically you need help with?
I want a script integration that can run as an init process whenever the class function is called to open the IP connection to the server while running the application and close the IP connection as soon as it's done
Do you mean that you want to access an API in a manner such that the API thinks that you are connecting from an IP address in the Netherlands, while the code is in reality running on the PythonAnywhere servers in the US?
To do that, you'd need to look into using a proxy server hosted in the Netherlands.