74 lines
2.8 KiB
Plaintext
74 lines
2.8 KiB
Plaintext
═══════════════════════════════════════════════════════════════
|
|
DISABLE LOCALHOST ON WINDOWS - SIMPLE INSTRUCTIONS
|
|
═══════════════════════════════════════════════════════════════
|
|
|
|
OPTION 1: Use PowerShell Script (EASIEST)
|
|
═══════════════════════════════════════════════════════════════
|
|
|
|
1. On your WINDOWS machine:
|
|
- Right-click the Start menu
|
|
- Click "Windows PowerShell (Admin)" or "Terminal (Admin)"
|
|
|
|
2. Type this command and press Enter:
|
|
|
|
cd Desktop
|
|
|
|
3. Copy the file "DISABLE_WINDOWS_LOCALHOST.ps1" to your Desktop
|
|
|
|
4. Run this command:
|
|
|
|
.\DISABLE_WINDOWS_LOCALHOST.ps1
|
|
|
|
(If you get an error about execution policy, run this first:)
|
|
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
|
|
|
5. Follow the prompts - it will automatically disable everything!
|
|
|
|
|
|
OPTION 2: Manual Method (GUI)
|
|
═══════════════════════════════════════════════════════════════
|
|
|
|
1. Press Windows Key + R
|
|
2. Type: services.msc
|
|
3. Press Enter
|
|
|
|
4. Find and STOP these services (if they exist):
|
|
- Right-click each one → Stop
|
|
- Right-click each one → Properties
|
|
- Change "Startup type" to "Disabled"
|
|
- Click OK
|
|
|
|
Services to disable:
|
|
□ World Wide Web Publishing Service (W3SVC)
|
|
□ Windows Process Activation Service (WAS)
|
|
□ IIS Admin Service
|
|
□ Apache2.4
|
|
□ wampapache64
|
|
|
|
|
|
OPTION 3: Quick PowerShell Commands
|
|
═══════════════════════════════════════════════════════════════
|
|
|
|
Open PowerShell as Admin and run each line:
|
|
|
|
Stop-Service W3SVC -Force
|
|
Set-Service W3SVC -StartupType Disabled
|
|
|
|
Stop-Service WAS -Force
|
|
Set-Service WAS -StartupType Disabled
|
|
|
|
Stop-Service Apache2.4 -Force -ErrorAction SilentlyContinue
|
|
Set-Service Apache2.4 -StartupType Disabled -ErrorAction SilentlyContinue
|
|
|
|
|
|
AFTER DISABLING:
|
|
═══════════════════════════════════════════════════════════════
|
|
|
|
Close ALL Firefox windows completely, then reopen and go to:
|
|
|
|
✅ http://localhost:5000/
|
|
|
|
This will now show your NEW clean site from the Linux server!
|
|
|
|
═══════════════════════════════════════════════════════════════
|