Access your CryptoBot at: http://72.60.56.80:3001
SSH into your VPS and run:
ssh deploy@72.60.56.80
sudo bash ~/open-port-3001.shThis will:
- ✅ Open port 3001 in the firewall
- ✅ Test the connection
- ✅ Show you the access URL
After running the script:
http://72.60.56.80:3001
That's it! Simple and direct.
# Opens port 3001 in firewall
sudo ufw allow 3001/tcp
sudo ufw reloadNote: Port 80 is already used by your cestou.store nginx, so CryptoBot uses port 3001.
After running the script, test in your browser:
http://72.60.56.80:3001
You should see: 🤖 Crypto Trading Bot Dashboard
Once accessible, you can use these endpoints:
http://72.60.56.80:3001/api/status
http://72.60.56.80:3001/api/stats
http://72.60.56.80:3001/api/bots
If you prefer to do it manually:
ssh deploy@72.60.56.80
# Open port with UFW
sudo ufw allow 3001/tcp
sudo ufw reload
# Or with iptables
sudo iptables -A INPUT -p tcp --dport 3001 -j ACCEPT
sudo iptables-saveCheck if port is open:
ssh deploy@72.60.56.80
sudo ufw status | grep 3001Test from VPS:
curl http://localhost:3001/api/statusCheck bot is running:
pm2 statusRestart the bot:
pm2 restart cryptoBotCheck firewall:
sudo ufw statusTest port is listening:
netstat -tuln | grep 3001- ✅ Bot runs as non-root user (deploy)
- ✅ Environment variables in .env (not in Git)
⚠️ Port 3001 open to public (no authentication)
1. IP Whitelist (Recommended) Only allow your IP to access:
sudo ufw delete allow 3001/tcp
sudo ufw allow from YOUR_IP_ADDRESS to any port 30012. Add HTTP Basic Auth Use nginx to add password protection (let me know if you want this)
3. Use VPN Access via VPN tunnel for maximum security
You can access the dashboard from your phone too:
http://72.60.56.80:3001
The dashboard is responsive and works on mobile devices.
Every push to GitHub main branch:
- ✅ Pulls latest code
- ✅ Builds project
- ✅ Restarts bot
- ✅ Dashboard updates
No changes needed - auto-deployment is already configured!
Bot running: ✅
Port 3001 listening: ✅
Firewall: ❌ Blocking
External access: ❌ Not available
Bot running: ✅
Port 3001 listening: ✅
Firewall: ✅ Open
External access: ✅ http://72.60.56.80:3001
One command to open access:
ssh deploy@72.60.56.80
sudo bash ~/open-port-3001.shThen open in browser:
http://72.60.56.80:3001
Initialize and trade:
- Click "Initialize System"
- Choose FAKE mode
- Set budget: $500
- Click "Start All Bots"
- Watch it trade! 📈
No nginx changes needed. No domain configuration. Just a simple firewall rule and you're done!
Your bot is ready at: http://72.60.56.80:3001 🚀