ā 1. Install Docker (if not installed)
sudo apt update
sudo apt install -y docker.io
sudo systemctl enable --now docker
Code language: CSS (css)
ā 2. Start Wetty using Docker (recommended + stable)
This avoids all Node/gc-stats errors you faced earlier.
Run Wetty in container:
sudo docker run -d \
--name wetty \
-p 80:3000 \
wettyoss/wetty \
--ssh-host=127.0.0.1
What this means:
- Docker runs Wetty internally on port 3000
- EC2 instance listens on port 80
- No need for Node.js / npm on host
- No gc-stats errors
- Very stable
ā 3. Access Wetty in your browser
Use either:
http://13.200.229.28/wetty
Code language: JavaScript (javascript)
or
http://ec2-13-200-229-28.ap-south-1.compute.amazonaws.com/wetty
Code language: JavaScript (javascript)
ā ļø Wetty does NOT load on / ā You must add /wetty
ā 4. Verify Container is Running
docker ps
Should show:
PORTS
0.0.0.0:80->3000/tcp
Iām a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow , and SEO strategies at Wizbrand.
Do you want to learn Quantum Computing?
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at WIZBRAND