#!/bin/bash # Final test of VSCode Server set -e echo "๐Ÿงช Final test of VSCode Server availability..." echo "" echo "๐Ÿ“Š Test 1: Testing vscode.mnemo-cards.online from local machine..." if curl -I -L -m 10 https://vscode.mnemo-cards.online/ 2>&1 | head -15; then echo "โœ… vscode.mnemo-cards.online is accessible" else echo "โš ๏ธ Could not reach vscode.mnemo-cards.online from local machine" echo "This might be a firewall or DNS issue on your local network" fi echo "" echo "๐Ÿ“Š Test 2: Testing code.mnemo-cards.online (should be Forgejo, not VSCode)..." if curl -I -L -m 10 https://code.mnemo-cards.online/ 2>&1 | head -15; then echo "โœ… code.mnemo-cards.online is accessible (this is Forgejo/Git)" else echo "โš ๏ธ Could not reach code.mnemo-cards.online" fi echo "" echo "๐Ÿ“Š Test 3: Testing from server itself..." ssh root@147.45.152.129 'curl -I https://vscode.mnemo-cards.online 2>&1 | head -10' echo "" echo "โœ… Testing complete!" echo "" echo "๐Ÿ“ Summary:" echo " - https://vscode.mnemo-cards.online/ โ†’ VSCode Server" echo " - https://code.mnemo-cards.online/ โ†’ Forgejo (Git)" echo "" echo "๐Ÿ”‘ VSCode password: AGktOidxrah1KVC0"