'Acessing data from localhost on Alexa developer console

I am trying to acess data from my localhost server on raspberry pi with my alexa. This works when I run the code in visual studio code with the local debugger, but doesn't work in the developer console.

Is this possible or do I need to make a server that is not localhost?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source