Update README.md

This commit is contained in:
pudepiedj 2024-02-23 10:00:02 +00:00 committed by GitHub
parent a9dd5f3769
commit 9aa1457066
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
This example demonstrates a simple HTTP API server and a simple web front end to interact with llama.cpp.
It is set only to run on the local machine using http://127.0.0.1:8080 but it can serve a local network or a public network if the router allows port forwarding.
To make the server accessible to other machines on the local or public network change the server username to '0.0.0.0'.
It will then run on http://0.0.0.0:8080 and to access the server on the host machine the url must be http://<url of local machine>:8080
It will then run on http://0.0.0.0:8080 and to access the server on the host machine the url must be http://IPaddress:8080
So for example http://192.168.1.42:8080 will have the same effect as localhost:8080 when the servername is 127.0.0.1
Command line options: