49 lines
900 B
Markdown
49 lines
900 B
Markdown
# Correct URL to Access Your App
|
|
|
|
## Problem
|
|
You're trying: `pozoapp:8080` - This won't work because:
|
|
- `pozoapp` is not a valid hostname
|
|
- DNS can't resolve it
|
|
|
|
## Solution
|
|
|
|
### Use `localhost` instead:
|
|
|
|
**If website is on port 80:**
|
|
```
|
|
http://localhost
|
|
```
|
|
|
|
**If website is on port 8080:**
|
|
```
|
|
http://localhost:8080
|
|
```
|
|
|
|
## How to Check Your Port:
|
|
|
|
1. **IIS Manager:**
|
|
- Sites → PozoApp
|
|
- Right-click → "Edit Bindings..."
|
|
- Check the port number
|
|
|
|
2. **Or run this command:**
|
|
```cmd
|
|
netstat -ano | findstr :80
|
|
```
|
|
|
|
## Quick Test:
|
|
|
|
Just open in browser:
|
|
- `http://localhost` (for port 80)
|
|
- `http://localhost:8080` (for port 8080)
|
|
|
|
## Don't Use:
|
|
- ❌ `pozoapp:8080` (hostname doesn't exist)
|
|
- ❌ `pozo.app` (unless you set up DNS)
|
|
- ❌ `127.0.0.1:8080` (works but `localhost` is easier)
|
|
|
|
## Use:
|
|
- ✅ `http://localhost` (port 80)
|
|
- ✅ `http://localhost:8080` (port 8080)
|
|
|