v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- Frontend v4 accessible sur réseau local (192.168.1.40) - Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard) - Ollama GPU fonctionnel - Self-healing interactif - Dashboard confiance Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
179
docs/archive/misc/PORTS_STATUS.md
Normal file
179
docs/archive/misc/PORTS_STATUS.md
Normal file
@@ -0,0 +1,179 @@
|
||||
# 🔌 État des Ports - Dashboard RPA Vision V3
|
||||
|
||||
**Date de vérification** : 24 novembre 2024
|
||||
**Statut** : ✅ TOUS LES PORTS DISPONIBLES (vérifié en temps réel)
|
||||
|
||||
---
|
||||
|
||||
## 📊 Résumé
|
||||
|
||||
| Port | Statut | Usage | Notes |
|
||||
|------|--------|-------|-------|
|
||||
| 5000 | ✅ Libre | Flask (standard) | ✅ Disponible comme alternative |
|
||||
| **5001** | ✅ **UTILISÉ** | **Dashboard RPA Vision V3** | ✅ Port configuré et actif |
|
||||
| 3000 | ✅ Libre | Alternative React/Node | ✅ Vérifié disponible |
|
||||
| 8000 | ✅ Libre | Alternative Django | ✅ Vérifié disponible |
|
||||
| 8080 | ✅ Libre | Alternative Tomcat | ✅ Vérifié disponible |
|
||||
| 8888 | ✅ Libre | Alternative Jupyter | ✅ Vérifié disponible |
|
||||
| 9000 | ✅ Libre | Alternative PHP | ✅ Vérifié disponible |
|
||||
|
||||
**⚠️ IMPORTANT** : Aucun service n'a été arrêté. Tous les ports listés sont naturellement libres.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Configuration Actuelle
|
||||
|
||||
### Dashboard RPA Vision V3
|
||||
- **Fichier** : `web_dashboard/app.py`
|
||||
- **Port configuré** : `5001` ✅
|
||||
- **Host** : `0.0.0.0` (accessible depuis le réseau local)
|
||||
- **Mode debug** : `True`
|
||||
|
||||
### Ligne de configuration (app.py:165)
|
||||
```python
|
||||
app.run(debug=True, host='0.0.0.0', port=5001)
|
||||
```
|
||||
|
||||
**Note** : Port 5001 choisi pour éviter tout conflit avec d'autres services.
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Lancement du Dashboard
|
||||
|
||||
### Méthode 1 : Via run.sh (recommandé)
|
||||
```bash
|
||||
cd rpa_vision_v3
|
||||
./run.sh --dashboard
|
||||
```
|
||||
|
||||
### Méthode 2 : Directement
|
||||
```bash
|
||||
cd rpa_vision_v3/web_dashboard
|
||||
python app.py
|
||||
```
|
||||
|
||||
### Méthode 3 : Avec un port personnalisé
|
||||
```bash
|
||||
# Modifier app.py ligne 165
|
||||
app.run(debug=True, host='0.0.0.0', port=8000)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔍 Vérification des Ports
|
||||
|
||||
### Script automatique
|
||||
```bash
|
||||
./rpa_vision_v3/check_dashboard_port.sh
|
||||
```
|
||||
|
||||
### Commandes manuelles
|
||||
```bash
|
||||
# Vérifier si le port 5001 est utilisé
|
||||
ss -tuln | grep :5001
|
||||
|
||||
# Trouver le processus utilisant le port 5001
|
||||
lsof -i :5001
|
||||
|
||||
# Libérer le port 5001
|
||||
kill $(lsof -t -i:5001)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Résolution de Problèmes
|
||||
|
||||
### Problème : Port 5001 occupé
|
||||
|
||||
**Symptôme** :
|
||||
```
|
||||
OSError: [Errno 98] Address already in use
|
||||
```
|
||||
|
||||
**Solution 1** : Vérifier le processus
|
||||
```bash
|
||||
# Identifier le processus
|
||||
lsof -i :5001
|
||||
|
||||
# Arrêter le processus si nécessaire (remplacer PID)
|
||||
kill <PID>
|
||||
```
|
||||
|
||||
**Solution 2** : Utiliser un port alternatif
|
||||
```bash
|
||||
# Modifier web_dashboard/app.py ligne 165
|
||||
app.run(debug=True, host='0.0.0.0', port=8000)
|
||||
|
||||
# Accès: http://localhost:8000
|
||||
```
|
||||
|
||||
**Solution 3** : Variable d'environnement
|
||||
```bash
|
||||
export FLASK_PORT=8000
|
||||
python web_dashboard/app.py
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 Historique
|
||||
|
||||
### 24 novembre 2024 - 15:35
|
||||
- ✅ Vérification en temps réel : TOUS les ports sont naturellement libres
|
||||
- ✅ **AUCUN service n'a été arrêté** - Ports disponibles sans intervention
|
||||
- ✅ **Port 5001 configuré** pour le dashboard (choix utilisateur)
|
||||
- ✅ Configuration mise à jour dans `web_dashboard/app.py`
|
||||
- ✅ Tous les ports web standards vérifiés et disponibles
|
||||
- ✅ Script de vérification créé (`check_dashboard_port.sh`)
|
||||
- ✅ Dashboard prêt pour le lancement immédiat sur http://localhost:5001
|
||||
|
||||
---
|
||||
|
||||
## 🌐 Accès au Dashboard
|
||||
|
||||
Une fois lancé, le dashboard est accessible via :
|
||||
|
||||
- **Local** : http://localhost:5001
|
||||
- **Réseau local** : http://<IP_MACHINE>:5001
|
||||
|
||||
### Fonctionnalités disponibles
|
||||
- ✅ Statut du système
|
||||
- ✅ Liste des tests unitaires
|
||||
- ✅ Lancement de tests
|
||||
- ✅ Visualisation des logs en temps réel
|
||||
- ✅ Console de sortie des tests
|
||||
|
||||
---
|
||||
|
||||
## 🔒 Sécurité
|
||||
|
||||
⚠️ **ATTENTION** : Le dashboard est configuré avec `host='0.0.0.0'`
|
||||
|
||||
Cela signifie qu'il est **accessible depuis le réseau local**.
|
||||
|
||||
### Pour limiter l'accès au localhost uniquement :
|
||||
```python
|
||||
# Modifier app.py ligne 165
|
||||
app.run(debug=True, host='127.0.0.1', port=5001)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ✅ Checklist de Démarrage
|
||||
|
||||
Avant de lancer le dashboard :
|
||||
|
||||
- [x] Port 5001 disponible et configuré
|
||||
- [x] Flask installé (`pip install Flask==3.0.0`)
|
||||
- [x] Template HTML créé (`templates/index.html`)
|
||||
- [x] Dossier logs existant
|
||||
- [x] Tests unitaires présents
|
||||
- [ ] Lancer le dashboard : `./run.sh --dashboard`
|
||||
- [ ] Vérifier l'accès : http://localhost:5001
|
||||
- [ ] Tester les fonctionnalités
|
||||
|
||||
---
|
||||
|
||||
**Statut Final** : ✅ **PRÊT POUR LE LANCEMENT**
|
||||
|
||||
Le dashboard peut maintenant être lancé sans conflit de port.
|
||||
|
||||
Reference in New Issue
Block a user