Public local host

#help Hi all, I am a newbie. When I install Coder based on https://coder.com/docs/install. in my Ubuntu PC. Everything is ok, I can create my template with docker in a local host ( 127.0.0.0.3000). Now I want to publicize this local host on the server so my friends can access it. Does Everyone have an idea or document to handle it? Could you share it with me? Thank you and best regards, bung bu
Solution:
You may now consider us in Ng a reverse proxy to expose the local port 127.0.0.1:3000 to your Network. See these three guides. https://coder.com/docs/admin/configure#tls--reverse-proxy...
Configuration - Coder Docs
Learn how to configure Coder
From An unknown user
From An unknown user
From An unknown user
Jump to solution
17 Replies
Codercord
Codercord3mo ago
<#1259789933837815838>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
velvetforce
velvetforce3mo ago
Medium
How To Setup A Cloudflare Tunnel And Expose Your Local Service Or A...
It is a cloud hosting platform or service that helps provide network and DDoS (Distributed Denial of Service) mitigation for any content to be deployed on it. Cloudflare also provides users with free…
velvetforce
velvetforce3mo ago
CC @bụng bự
Ben.Ng
Ben.Ng3mo ago
I appreciate your support, I will check it
Scott
Scott3mo ago
@bụng bự - Another service is ngrok. https://ngrok.com/use-cases/developer-preview
Preview, test & share web applications running on localhost
Demo a website or an app running on your local machine to a client or stakeholder instantly and securely, without deploying to a staging environment. Custom URLs, built in security and authentication.
Ben.Ng
Ben.Ng2mo ago
I appreciate your support, I will check it Dear Mr @Scott .I have created DNS to access my URL from web browser so I think I don't need to use ngrok. Is that true? I'm very sorry to bother you (I'm trying out code-server to apply to my Team) Thank you and best regards, bung bu Dear @velvetforce .I have created DNS to access my URL from web browser so I think I don't need to use it . Is that true? I'm very sorry to bother you (I'm trying out code-server to apply to my Team) Thank you and best regards, bung bu
Phorcys
Phorcys2mo ago
you in fact don't need ngrok or any tunneling service if you have a public IP you can open ports on
Ben.Ng
Ben.Ng2mo ago
Dear @Phorcys , Thank you for your idea. Could you share with me some documents of it? 🥹
Atif
Atif2mo ago
@kirby we probably need a very basic getting started guide on how to expose Coder to the Internet. @Phorcys opening ports aren't needed as one can also use reverse proxies. Usually port 80/443 are opened on most ISPs.
Phorcys
Phorcys2mo ago
80/443 needs to be opened bere!
Atif
Atif2mo ago
Yes. But it's usually opened without one going into their router settings.
Phorcys
Phorcys2mo ago
actually not here, you need to go to router settings, that's why I mentioned it as I thought it was the same everywhere
Ben.Ng
Ben.Ng2mo ago
Thanks all, I will discuss this with my team, if my demo is okay. We will purchase a coder-server license.😍
Phorcys
Phorcys2mo ago
let us know if there's anything else you'd need or if you have any questions!
Ben.Ng
Ben.Ng2mo ago
Dear @Phorcys , I'm very sorry if I bother you. Currently these are the steps that I did: - Created DNS, to my team can access url: democoder.com from web browser - Install coder on Ubuntu PC, and run it with local host :127.0.0.1:3000 This is current host status ( When I use command line " host 127.0.0.1 " ) 1.0.0.127.in-addr.arpa domain name pointer localhost. 1.0.0.127.in-addr.arpa domain name pointer democoder.com . Could you share/guide me on the next step to set it up? Thank you and best regards, bung bu
Want results from more Discord servers?
Add your server