GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Can not visit localhost:3000 after deployment using docker · Issue #164 · sqlchat/sqlchat

Can not visit localhost:3000 after deployment using docker #164

New issue
Copy link
New issue
Copy link
Open
Open
Can not visit localhost:3000 after deployment using docker#164
Copy link

Description

@huangyan0914
huangyan0914
opened on Sep 24, 2024
Issue body actions

I use the following command to run sqlchat, but I can not visit the page. I have replace OPENAI_API_KEY using my own.

docker run --name sqlchat_hy2 --platform linux/amd64 --env NEXTAUTH_SECRET=abcde --env OPENAI_API_KEY=xxxxx -p 3000:3000 --hostname localhost sqlchat/sqlchat

image

OS: Windows 11
Docker Desktop: 4.30.0
Docker Engine: v26.1.1

image

Activity

  1. austonpramodh commented on Jan 19, 2025

    @austonpramodh
    austonpramodh
    on Jan 19, 2025
    More actions

    I am having same issue

    Reacted by Bhargav Tarpara and connorguy
  2. BTruer commented on Jan 29, 2025

    @BTruer
    BTruer
    on Jan 29, 2025
    More actions

    Same

  3. siampudan commented on Jan 31, 2025

    @siampudan
    siampudan
    on Jan 31, 2025
    More actions

    Same

  4. pxbin commented on Jun 19, 2025

    @pxbin
    pxbin
    on Jun 19, 2025
    More actions

    Try replacing --hostname localhost with --hostname 0.0.0.0 in your Docker command. The --hostname flag sets the container's internal hostname, but to allow external access, the application inside the container must bind to 0.0.0.0.

    Reacted by crbon and paulcs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.