127.0.0.1/localhost ports refuse to connect
-
I am new to pfsense, still learning the basics but I cannot get localhost working for some reason. I have pfsense running baremetal on a machine and I have proxmox running an ubuntu server vm which is hosting ollama. It is installed and is telling me to access it via 127.0.0.1:11434. Any time I go to that address I get refused to connect. I had tried many things such as adding 127.0.0.1 as a DNS server, changing DNS resolver settings and nothing is helping. Any container that uses that type of address has always given me this issue. Does anyone have any ideas on how to get this resolved?
-
You can only connect to localhost like that on the server dircetly, so only from the Ubuntu console.
You should be able to access it using a local IP address though as long as it;s configured to listen on that address.
That is unrelated to pfSense.
Steve
-
@killuhbyte said in 127.0.0.1/localhost ports refuse to connect:
It is installed and is telling me to access it via 127.0.0.1:11434.
If the service is listening on localhost it can only be accessed from the local host.
No other machine can access it.You can replace 127.0.0.1 in the listening setting with it's interface address or with 0.0.0.0.
The latter let it listen on any IP, also on localhost. -
@stephenw10 Thank you!