How can I reach LocalAi from another network machine? #1780
Replies: 2 comments 1 reply
-
Linux? Windows with WSL2? What is your |
Beta Was this translation helpful? Give feedback.
-
localhost is yourself, when you try to connect to localhost -- means you call yourself at port 11438 (by default it should be 8080, as web-server) when you try to call localhost:8080 -- you are not calling to localai machine, you are calling yourself. basically you should replace localhost with actual address of machine with localai and try it it may be also tricky with ports |
Beta Was this translation helpful? Give feedback.
-
I can get correct CURL responses from both within the localAi docker instance and from the docker host machine at localhost:11438, however when I try and hit the host machine's :11438 from another network machine I get the error 'failed to connect to localhost port 8080' in the curl response.
I don't have any firewall rules running on the host.
is there a setting I have to change to allow the backend to speak to machines within my network.
Beta Was this translation helpful? Give feedback.
All reactions