code-server over nginx and no-ip.com | deploying code-server with --link #3538
Unanswered
prizzledev
asked this question in
Q&A
Replies: 1 comment 15 replies
-
What if I told you there was a simpler way to do all this? I think
Here's a video about how to use/set it up: https://www.youtube.com/watch?v=MdIEiZpg5vQ |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I want to host code-server on my Raspberry Pi. I used it over my internal network address(192.168.178.48), but i wanted to access it from everywhere else. I saw some videos, where you only need to make some port forwarding and everything is done. Not in my case... Because i have an Ip dynamic Ip address and there is now way for me to get an static ip. I just saw this Video here (shared exactly there where it gets interesting). I just installed nginx to the Pi and edited the file at
/etc/nginx/sites-available/default
like this (so it directs everything to the local ip on port 8080):And the file at
~/.config/code-server/config.yaml
like this:After running the command
code-server
i get everything like expected:If I access code server over

localhost:8080
or127.0.0.1:8080
everything works fine.But if I type in my ip address
192.168.178.48
(that is the one nginx is using) it directs me to the login page like you can see in the address line.But it displays the message
404 Not Found
like you can see in the picture above.On my Windows it displays absolutely nothing, but on my IPhone i get the same 404 error like on the Pi.
Now my question: is it a issue of code-server, me or nginx?
Beta Was this translation helpful? Give feedback.
All reactions