<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ionut aka BlitzCloud</title>
    <description>The latest articles on DEV Community by Ionut aka BlitzCloud (@blitz_cloud).</description>
    <link>https://dev.to/blitz_cloud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F723007%2Fd7f0a2f4-da36-4fa8-8fac-d0b250cd5c48.jpeg</url>
      <title>DEV Community: Ionut aka BlitzCloud</title>
      <link>https://dev.to/blitz_cloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/blitz_cloud"/>
    <language>en</language>
    <item>
      <title>You need to stop using port forwarding right NOW !</title>
      <dc:creator>Ionut aka BlitzCloud</dc:creator>
      <pubDate>Tue, 07 Mar 2023 18:03:27 +0000</pubDate>
      <link>https://dev.to/blitz_cloud/you-need-to-stop-using-port-forwarding-right-now--13a7</link>
      <guid>https://dev.to/blitz_cloud/you-need-to-stop-using-port-forwarding-right-now--13a7</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;In this article I will show an alternative to port forwarding. That offers the same configurability and is even more secure.&lt;/p&gt;

&lt;h2&gt;
  
  
  But why you may ask ?
&lt;/h2&gt;

&lt;p&gt;Port forwarding was the way to go from the down of internet to allow inbound traffic from the internet to reach a machine(SSH) or a service on the local network, and will still be, but as tech enthusiastic I can say that the security might not be in the  spotlight. But as the history shown us with every opened hole in the firewall comes at risk. You might be wandering how we can mitigate this issues. The obvious option is just not to expose anything to the world. Or to VPN inside your home network might work but with this set up you can expose any of your resources to the word.&lt;/p&gt;

&lt;h2&gt;
  
  
  What alternatives do we have to solve all this issues ?
&lt;/h2&gt;

&lt;p&gt;After some research I discovered Cloudflare Argo Tunnels, the big advantage for me is that I can point a tunnel endpoint to one of the many domains or subdomains that i have already associated with my Cloudflare free account. With this service you have full control over your configuration and the security of your applications with the build in SSO platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  If this cached your eye Let dive in ...
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Go on the Cloudflare Zero Trust &lt;a href="https://one.dash.cloudflare.com"&gt;Dashboard&lt;/a&gt; &amp;gt; Access &amp;gt; Tunnels page
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9huuCPSY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cx3cd7zhq8mrgm4463uh.png" alt="Cloudflare Zero Trust Dashboard" width="880" height="434"&gt;
&lt;/li&gt;
&lt;li&gt;And create your first tunnel 
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ejfk9zLz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/blp68zs3g67nuhgp5t7e.png" alt="Cloudflare Zero Trust Dashboard" width="880" height="441"&gt;
&lt;/li&gt;
&lt;li&gt;Name it
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--D8J1r62b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8uloex0cchmshsngm87f.png" alt="Cloudflare Zero Trust Dashboard" width="880" height="493"&gt;
&lt;/li&gt;
&lt;li&gt;Choose your environment and follow the instructions on how to configure 
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3DXGXGvP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2hzbdz59n0nwx37dnqff.png" alt="Cloudflare Zero Trust Dashboard" width="880" height="280"&gt; &lt;/li&gt;
&lt;li&gt;Choose your domain and the location of the service you want to host
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MHGwiTUw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tjppwzi63j12ke4conan.png" alt="Cloudflare Zero Trust Dashboard" width="880" height="462"&gt;
NOTE: You can also use Tunnels for SSH or RDP.&lt;/li&gt;
&lt;li&gt;Bonus !
Cloudflare also provides a VPN service, that can be used to access your home network. To use it you need the &lt;a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/download-warp"&gt;Cloudflare Warp Client&lt;/a&gt;.
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--H75alPql--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/de6dcda21utvzj8y0mt9.png" alt="Cloudflare Zero Trust Dashboard" width="880" height="244"&gt; &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To wrap up in this article you saw how to configure a tunnel to expose your self-hosted services for free on the internet that doesn't require any port forwarding and based on my personal experience you could rely on this service as I do for  more than a year&lt;/p&gt;

</description>
      <category>homelab</category>
      <category>docker</category>
      <category>cloudflare</category>
    </item>
    <item>
      <title>Why Cloudflare Argo Tunnels ?</title>
      <dc:creator>Ionut aka BlitzCloud</dc:creator>
      <pubDate>Mon, 03 Oct 2022 17:13:13 +0000</pubDate>
      <link>https://dev.to/blitz_cloud/why-cloudflare-argo-tunnels--5fcj</link>
      <guid>https://dev.to/blitz_cloud/why-cloudflare-argo-tunnels--5fcj</guid>
      <description>&lt;h3&gt;
  
  
  Table of contents:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;What are Cloudflare Argo Tunnels ?&lt;/li&gt;
&lt;li&gt;How is working&lt;/li&gt;
&lt;li&gt;Why Cloudflare Tunnels ?&lt;/li&gt;
&lt;li&gt;Requirements&lt;/li&gt;
&lt;li&gt;Setup&lt;/li&gt;
&lt;li&gt;Advantages&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Have you ever wanted to share a preview of a project with a client,friend or to open your own self hosted blog, without the security concerns of open ports ? Perhaps you might heard of solution like &lt;a href="https://ngrok.com/"&gt;ngrok&lt;/a&gt; and &lt;a href="https://theboroer.github.io/localtunnel-www/"&gt;localtunnel&lt;/a&gt; which might do the job for a temporary use case, but in these cases the subdomain is will be random.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. What are Cloudflare Argo Tunnels ?&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Cloudflare Argo Tunnels allows you to connect your services to the Cloudflare network without a public IP address, which is convenient for those who don't have a static IP.You need to install a lite weight demon that will route traffic from an to the internet from the local server.The daemon comes with a CLI from where you can create and administrate the tunnels once you are login.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. How is working ?&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bZVO_KwM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://developers.cloudflare.com/cloudflare-one/static/documentation/connections/connect-apps/handshake.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bZVO_KwM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://developers.cloudflare.com/cloudflare-one/static/documentation/connections/connect-apps/handshake.jpg" alt="Cloudflare Tunnel Diagram" width="880" height="549"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Why Cloudflare Tunnels ?&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Besides the security aspects, a cloudflare tunnel will allow you to route a huge variety of protocols throw their network like SSH,HTTP,HTTPS,UNIX and RDP.The presence of an intuitive web interface makes the tunnel management easier. For those of you that are working on a team an want internal tools expose to internet and don't have the time to deal with authentication the SSO tools that the Zero Trust platform has to offer comes in handy, beside this the administrator can limit the access to which apps each team has access to.&lt;/p&gt;



&lt;h4&gt;
  
  
  4. Before the installation process here are some requirements:&lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;A domain name&lt;/li&gt;
&lt;li&gt;A Cloudflare account&lt;/li&gt;
&lt;li&gt;To add the domain to your cloudflare account&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Setup:&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;After you added your domain to cloudflare you can begin the set up process.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;Download and install the right &lt;a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation/"&gt;executable&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Go to the &lt;a href="https://dash.teams.cloudflare.com"&gt;Dashboard&lt;/a&gt; &lt;b&gt;-&amp;gt; Access -&amp;gt; Tunnels &lt;/b&gt; and the create your first tunnel,after this you will be provided with a command to run the tunnel.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  6. Advantages:&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;High securitu and customization&lt;/li&gt;
&lt;li&gt;High avalibily&lt;/li&gt;
&lt;li&gt;Free tier&lt;/li&gt;
&lt;li&gt;No need for an static IP address&lt;/li&gt;
&lt;li&gt;SSO tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here I should note that the in order to successfully receive other protocols then http and https both ends should run the cloudflare daemon or the WARP client,but elsewhere Cloudflare tunnels are a reliable, low effort, hight security solution for you to host your service on the internet, that can make use of other in house tools from Cloudflare.&lt;/p&gt;

&lt;p&gt;Thx for staying that long and until next time 😀Codding.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>overview</category>
      <category>cloudflare</category>
      <category>hosting</category>
    </item>
    <item>
      <title>Now you can run a code-server as a service.</title>
      <dc:creator>Ionut aka BlitzCloud</dc:creator>
      <pubDate>Thu, 29 Sep 2022 14:47:54 +0000</pubDate>
      <link>https://dev.to/blitz_cloud/now-you-can-run-a-code-server-as-a-service-in6</link>
      <guid>https://dev.to/blitz_cloud/now-you-can-run-a-code-server-as-a-service-in6</guid>
      <description>&lt;p&gt;As I mentioned in my last &lt;a href="https://dev.to/blitz_cloud/vscode-is-now-everywhere-5g9d"&gt;article&lt;/a&gt;, I said that code-server lacks a service to run it in the background or at startup. I build a systemd service to solve this issue.&lt;/p&gt;

&lt;p&gt;If you want to have the code-server running n the background just follow this steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create the systemd service with this command
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;nano /etc/systemd/system/code-server.service
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Paste the code below.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Unit]
Description=Code-Server Service
After=network.target

[Service]
Type=simple
Restart=always
User= yourUser
ExecStart=/usr/local/bin/code-server

[Install]
WantedBy=multi-user.target
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Start the service
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;service code-server start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Check the status
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;service code-server status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Optional enable the process at startup
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl &lt;span class="nb"&gt;enable &lt;/span&gt;code-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Now you should be able to take you safe development environment on your iPad or on your grandma slow computer,without being afraid that the server will stop.
&lt;/h4&gt;

</description>
      <category>vscode</category>
      <category>linux</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>VScode is now everywhere💻</title>
      <dc:creator>Ionut aka BlitzCloud</dc:creator>
      <pubDate>Mon, 26 Sep 2022 16:25:07 +0000</pubDate>
      <link>https://dev.to/blitz_cloud/vscode-is-now-everywhere-5g9d</link>
      <guid>https://dev.to/blitz_cloud/vscode-is-now-everywhere-5g9d</guid>
      <description>&lt;h2&gt;
  
  
  Table Of Contents:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What is code-server&lt;/li&gt;
&lt;li&gt;Use cases&lt;/li&gt;
&lt;li&gt;Advantages&lt;/li&gt;
&lt;li&gt;Disavantages&lt;/li&gt;
&lt;li&gt;Setup&lt;/li&gt;
&lt;li&gt;Summery&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What is code-server ? &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;I am sure that along your coding journey you heard at least one time about &lt;a href="https://github.com/coder/code-server"&gt;code-server&lt;/a&gt; witch it is great, but today I am gonna show an alternative solution to that that comes with a secure tunneling service, to eliminate the need of opened ports on the server side. Beside the web interface code-server allow  you to connect your local instance of VScode to the remote environment. During the installation your GitHub account will be associated to the secure tunneling service this way only you can access that instance. The code-server can be run that its accessible only from the local network too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Use cases: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Behind a firewall where you don't want to change the rules.&lt;/li&gt;
&lt;li&gt;When ssh connections aren't allowed.&lt;/li&gt;
&lt;li&gt;For students like me.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Advantages: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Hight security&lt;/li&gt;
&lt;li&gt;Support for all VSCode extensions&lt;/li&gt;
&lt;li&gt;Official support from Microsoft&lt;/li&gt;
&lt;li&gt;Easy to deploy and access from remote locations&lt;/li&gt;
&lt;li&gt;Support for AMD64 and ARM64.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Disadvantages: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;The code-server source-code it's not opened source.&lt;/li&gt;
&lt;li&gt;The service it is in a private preview and require to go throw a &lt;a href="https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR2RUg5vzJXJDmTEUlArnJpdUNDEyNkJCQU1LUjgyVFpWRk9GM09SWDlETy4u"&gt;signup form&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Setup: &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Installation:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;For linux and mac OS:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wget &lt;span class="nt"&gt;-O-&lt;/span&gt; https://aka.ms/install-vscode-server/setup.sh | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;For Windows(AMD64):
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;New-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;\.vscode-server-launcher\bin"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ItemType&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"directory"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Invoke-WebRequest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://aka.ms/vscode-server-launcher/x86_64-pc-windows-msvc"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-OutFile&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;\.vscode-server-launcher\bin\code-server.exe"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="n"&gt;SetEnvironmentVariable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Path"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="n"&gt;GetEnvironmentVariable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Path"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"User"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;";&lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;\.vscode-server-launcher\bin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"User"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;For Windows(ARM64):
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;New-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;\.vscode-server-launcher\bin"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ItemType&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"directory"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Invoke-WebRequest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://aka.ms/vscode-server-launcher/aarch64-pc-windows-msvc"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-OutFile&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;\.vscode-server-launcher\bin\code-server.exe"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="n"&gt;SetEnvironmentVariable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Path"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;]::&lt;/span&gt;&lt;span class="n"&gt;GetEnvironmentVariable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Path"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"User"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;";&lt;/span&gt;&lt;span class="bp"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;\.vscode-server-launcher\bin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"User"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Run the code-server:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;code-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Continue the required setup.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Alternative you can run it just for the local network with:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;code-server serve-local &lt;span class="nt"&gt;--host&lt;/span&gt; 0.0.0.0 &lt;span class="nt"&gt;--port&lt;/span&gt; 8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Summery:
&lt;/h3&gt;

&lt;p&gt;Code-Server it's great service for those of you that are familiar with the VSCode and want to have access to their tools and extensions. It's a nice to have service on your development machine with out exposing you to any unnecessary risks, but lacks a service to run it on the start up or in background and its use cases are narrow.&lt;/p&gt;

&lt;h5&gt;
  
  
  For those of you that want to take this a step forward &lt;a href="https://dev.to/blitz_cloud/now-you-can-run-a-code-server-as-a-service-in6"&gt;here&lt;/a&gt; you can find the steps to set up a linux service.
&lt;/h5&gt;

</description>
      <category>tutorial</category>
      <category>vscode</category>
    </item>
  </channel>
</rss>
