# Issue install N8N in docker and server no internet connection

**URL:** <https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825>\
**Category:** Questions\
**Created:** [April 11, 2025, 7:38am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825 "2025-04-11T07:38:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![luffyhyuga\_server](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/luffyhyuga_server/32/72286_2.png) [@luffyhyuga\_server](https://community.n8n.io/u/luffyhyuga_server)\
**Post date:** [April 11, 2025, 7:38am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/1 "2025-04-11T07:38:59Z")

</div>

I have one problem about install n8n in server no internet connection and this my env:  
environment:  
- DB\_TYPE=postgresdb  
- DB\_POSTGRESDB\_HOST=postgres  
- DB\_POSTGRESDB\_PORT=5432  
- DB\_POSTGRESDB\_USER=${POSTGRES\_USER}  
- DB\_POSTGRESDB\_PASSWORD=${POSTGRES\_PASSWORD}

```
# Security & Encryption
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
- N8N_USER_MANAGEMENT_JWT_SECRET=${N8N_USER_MANAGEMENT_JWT_SECRET}

# External Services (Optional AI connection)
- OLLAMA_HOST=ollama:11434 # Remove if not used

# Disable Telemetry & Tracking
- N8N_DIAGNOSTICS_ENABLED=false
- N8N_TELEMETRY_ENABLED=false
- N8N_PERSONALIZATION_ENABLED=false
- N8N_VERSION_NOTIFICATIONS_ENABLED=false
- N8N_TEMPLATES_ENABLED=false

# Disable Public API Exposure
- N8N_PUBLIC_API_DISABLED=true
- N8N_PUBLIC_API_SWAGGERUI_DISABLED=true

# Disable External Tracking Hooks
- EXTERNAL_FRONTEND_HOOKS_URLS=
- N8N_DIAGNOSTICS_CONFIG_FRONTEND=
- N8N_DIAGNOSTICS_CONFIG_BACKEND=

# HTTP Config (No HTTPS Enforcement)
- N8N_PROTOCOL=http
- N8N_SECURE_COOKIE=false
- N8N_DISABLE_HTTPS_WARNING=true

# Optional Permissions Enforcement
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true

```

And you can see the ollama model not response,I think it try to access to internet

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/3/b/3b5743f244a5d475eec84638d18e307d2c0fa99d.png)

---

<div class="post-metadata">

**Author:** ![jcuypers](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jcuypers/32/54965_2.png) [@jcuypers](https://community.n8n.io/u/jcuypers)\
**Post date:** [April 11, 2025, 7:49am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/2 "2025-04-11T07:49:03Z")

</div>

Hi,

Are you using the AI starter kit?

`OLLAMA_HOST=ollama:11434`

this would mean he would try to connect to a local container which runs OLLAMA

Reg,  
J.

---

<div class="post-metadata">

**Author:** ![luffyhyuga\_server](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/luffyhyuga_server/32/72286_2.png) [@luffyhyuga\_server](https://community.n8n.io/u/luffyhyuga_server)\
**Post date:** [April 11, 2025, 7:50am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/3 "2025-04-11T07:50:51Z")

</div>

yes I follow this reo [GitHub - n8n-io/self-hosted-ai-starter-kit: The Self-hosted AI Starter Kit is an open-source template that quickly sets up a local AI environment. Curated by n8n, it provides essential tools for creating secure, self-hosted AI workflows.](https://github.com/n8n-io/self-hosted-ai-starter-kit)

---

<div class="post-metadata">

**Author:** ![jcuypers](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jcuypers/32/54965_2.png) [@jcuypers](https://community.n8n.io/u/jcuypers)\
**Post date:** [April 11, 2025, 7:53am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/4 "2025-04-11T07:53:29Z")

</div>

Hi,

Yes, so everything should be self-contained and work locally. I don’t see the error to be honest. you type “gy” and the AI agents is confused (so am I :). what are you trying to do.

reg,  
J.

---

<div class="post-metadata">

**Author:** ![luffyhyuga\_server](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/luffyhyuga_server/32/72286_2.png) [@luffyhyuga\_server](https://community.n8n.io/u/luffyhyuga_server)\
**Post date:** [April 11, 2025, 7:54am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/5 "2025-04-11T07:54:21Z")

</div>

You see on ollama chat model it not check text when it already response

---

<div class="post-metadata">

**Author:** ![luffyhyuga\_server](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/luffyhyuga_server/32/72286_2.png) [@luffyhyuga\_server](https://community.n8n.io/u/luffyhyuga_server)\
**Post date:** [April 11, 2025, 7:55am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/6 "2025-04-11T07:55:40Z")

</div>

> [@luffyhyuga\_server](#):
>
> You see on ollama chat model it not check t

 ![n8n-error](https://europe1.discourse-cdn.com/n8n/original/3X/f/d/fddba3d58b7a97277c57b65da524ad1410efef18.png)

It should reponse on this

---

<div class="post-metadata">

**Author:** ![jcuypers](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jcuypers/32/54965_2.png) [@jcuypers](https://community.n8n.io/u/jcuypers)\
**Post date:** [April 11, 2025, 8:05am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/7 "2025-04-11T08:05:13Z")

</div>

Hi,

not sure to be honest.

And if you go into the credentials/account for Ollama, it says everything is ok?  
All the containers are up and running ? no error state or whatever?

Have you tried to recreate the WF / start a new session?

Also: I dont know the default config but this seems weird if you are not using it

```auto
- EXTERNAL_FRONTEND_HOOKS_URLS=
- N8N_DIAGNOSTICS_CONFIG_FRONTEND=
- N8N_DIAGNOSTICS_CONFIG_BACKEND=

```

run the standard configuration without any modifications and check whether it works (you seem to have made modifications as compared to the repository)

regards  
J.

---

<div class="post-metadata">

**Author:** ![ChrisHof](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/chrishof/32/70356_2.png) [@ChrisHof](https://community.n8n.io/u/ChrisHof)\
**Post date:** [April 11, 2025, 8:07am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/8 "2025-04-11T08:07:20Z")

</div>

Please post the logs/console output. There should be an error message that’ll help

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 10, 2025, 8:07am UTC](https://community.n8n.io/t/issue-install-n8n-in-docker-and-server-no-internet-connection/99825/9 "2025-07-10T08:07:54Z")

</div>

Closed on July 10, 2025, 8:07am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
