FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Vagrant access Dart webdev server
Vagrant access Dart webdev server
Débuté par SOHAMMAOOR, 27 sep. 2022 12:42 - Aucune réponse
Connectez-vous…
SOHAMMAOOR
#1
Membre enregistré
2 messages
Posté le 27 septembre 2022 - 12:42
I am learning Dart. I already installed Dart, and also the CLI tools (webdev and stagehand).
I successfully made a Dart console app and ran it without any issues. Then I started a bare-bones web app project and I ran the app with the following command:
webdev serve
And it started to run the web app in localhost on port 8080:
Serving web on
http://127.0.0.1:8080
I already changed the forwarded port to 8080 in the vagrant file like this:
config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
But I still cannot access/view the Dart web app, so my best guest is that I am doing something wrong with the port forwarding. How can I access my Dart web app running in vagrant from the browser?
I am using an ubuntu box.
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte