The problem is when I enable this setting in my firewall.
I can't connect to internet from my WSL.
I have tried to allow connection to WSL using this guide microsoft/WSL#4585 (comment).
| # use ctrl + f and find 'enter' keyword to find out which section should be changed. | |
| # This upstream block defines the location of your PHP-FPM service. | |
| upstream enter_your_domain_or_upstream_name { | |
| # This is the IP and port of your PHP-FPM container. | |
| # ex: 127.0.0.1:9000 or php-fpm_container_name:9000 | |
| server enter_php_fpm_ip:port; | |
| } | |
| # This server block listens on port 80 and redirects all HTTP traffic to HTTPS. |
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Odoo Server (python)", | |
| "type": "debugpy", | |
| "request": "launch", |
The problem is when I enable this setting in my firewall.
I can't connect to internet from my WSL.
I have tried to allow connection to WSL using this guide microsoft/WSL#4585 (comment).
In this section, I want to copy the cleaned version of Debian distribution. I want to separate the development of my softwares. So, I will create one WSL distribution for one software project.
Look at the name of your distribution you want to export.
wsl -l -vAs you can see in this screenshot, we want to export the clean version of Debian distribution:
| <Configuration ID="f41ae2df-f5bf-4813-a27a-461bcd09d843"> | |
| <Add OfficeClientEdition="64" Channel="PerpetualVL2021"> | |
| <Product ID="ProPlus2021Volume" PIDKEY="FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH"> | |
| <Language ID="en-us" /> | |
| <Language ID="id-id" /> | |
| <ExcludeApp ID="Lync" /> | |
| <ExcludeApp ID="OneDrive" /> | |
| <ExcludeApp ID="OneNote" /> | |
| <ExcludeApp ID="Outlook" /> | |
| <ExcludeApp ID="Publisher" /> |
This command below will set the project ID given in Cloudskillboost Labs. The Project ID got from the project list name start with prefix "qwiklabs-gcp".
NOTE: If there are more than one projects given to you while doing the Cloudskillboost's lab, this command below will not work.
output=$(gcloud projects list | grep "PROJECT_ID: qwiklabs-gcp")
for word in $output
do
if [ $(echo $word | grep "qwiklabs-gcp") ]
then| const AWS = require('aws-sdk'); | |
| class StorageService { | |
| constructor() { | |
| this._S3 = new AWS.S3(); | |
| } | |
| writeFile(file, meta) { | |
| const parameter = { | |
| Bucket: process.env.AWS_BUCKET_NAME, // Nama S3 bucket yang ingin digunakan |