Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
487 views
in Technique[技术] by (71.8m points)

dart - How to unspecify a port number while not running flutter web

Is there any way to stop Flutter web with a Headless-Server target, I managed to specify to localhost:8080 ?

Whenever I try to run any other non flutter aplication using port 8080 in localhost I end up with

http://localhost:8080/flutter_service_worker.js

How I created the Headless-Server target

flutter run -d headless-server --web-port=8080


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...