---
title: "Discussion on \"ollama做内网穿透\" | Hashnode"
description: "Discussion on \"ollama做内网穿透\". 1.ollama局域网可达\n首先要验证局域网内的ollama是否可达\nhttp://192.168.xx.xx/\n\n如果局域网不可达的话，是因为ollama的配置没有开放0.0.0.0的11434，可以通过以下指令可以查看11434的端口暴露情况\nnetstat -tlnp | grep 11434\n\n修改下面的文件就可以将ollama修改为局域网访问\nsudo vim /etc/systemd/"
url: "https://hashnode.com/posts/ollama/69b0c67dabc0d95001b6ff09"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ollama做内网穿透](https://yangyongbiao.hashnode.dev/ollama?utm_source=hashnode&utm_medium=feed)

1.ollama局域网可达 首先要验证局域网内的ollama是否可达 http://192.168.xx.xx/ 如果局域网不可达的话，是因为ollama的配置没有开放0.0.0.0的11434，可以通过以下指令可以查看11434的端口暴露情况 netstat -tlnp | grep 11434 修改下面的文件就可以将ollama修改为局域网访问 sudo vim /etc/systemd/

Mar 11 · 1 min read · yangyongbiao.hashnode.dev  
Read the article

## Written by

[MealHunter](https://hashnode.com/@MealHunter)

@MealHunter

  
[View profile](https://hashnode.com/@MealHunter)

Mars collides with Earth

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
