Skip to content

Functions with "type": "rest" type produce (type: 'Action')/r/nDetails:/r/nSystem.Net.Http.HttpRequestException: Cannot assign requested address (localhost:5296) #360

Closed Answered by Kounavi
Kounavi asked this question in Q&A
Discussion options

You must be logged in to vote

@cdavernas So, it seems that for Kubernetes you need to provide the POD's exact IP address rather than localhost as localhost is tied to 127.0.0.1 which would effectively prevent traffic to the pod unless the correct combination of IP+port is used. I guess I could try binding PODs to 0.0.0.0 but I would have to research and figure how to do this. In the meantime I have solved my issue.
Now I am getting another error regarding my JSON file but it is irrelevant to this issue.

If you would like me to contribute in providing YAML files for development scenarios please let me know.
Happy to share these! :)

Replies: 0 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@cdavernas
Comment options

@Kounavi
Comment options

@Kounavi
Comment options

@Kounavi
Comment options

Answer selected by Kounavi
@cdavernas
Comment options

@Kounavi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants