简体   繁体   中英

How to run Flutter web on intranet?

I try to use Chrome (web-javascript) on vs code to debug my application.

在此处输入图像描述

But Chrome (web-javascript) cannot connect to the intranet .

在此处输入图像描述

My app try to look up an internal route, but it cannot reach.

final connection = await InternetAddress.lookup(internalRoute);

show error

Unsupported operation: InternetAddress.lookup

How to fix this?

enter command 'git config --enable-web' on terminal and try to do run flutter application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM