-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Prerequisites
- I am running the latest code. Mention the version if possible as well.
- I carefully followed the README.md.
- I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
- I reviewed the Discussions, and have a new and useful enhancement to share.
Feature Description
The old server listens to IPv6 just fine. Please add IPv6 listen socket to the new (v2) server.
Motivation
I only access llamafile via a web browser. I tried to start ./google_gemma-3-4b-it-Q6_K.llamafile with --v2 -l <hostname>, and it failed. The hostname resolves to an IPv6 address. Attempted to start the server v2 with a bare IPv6 address, still getting an error. Started without giving it an IPv6 address, and then ran netstat -ant` to see what the server v2 was listening on, and it is ONLY IPv4.
The old server listens just fine on IPv6. Please use that code as a template to open a listening socket for the server v2
Possible Implementation
No response