Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

error #18

Open
au333333 opened this issue Jul 29, 2020 · 0 comments
Open

error #18

au333333 opened this issue Jul 29, 2020 · 0 comments

Comments

@au333333
Copy link

au333333 commented Jul 29, 2020

Future testProxy(String proxyUrl) async {
var server;

try {
  server = await shelf_io.serve(
    proxyHandler(proxyUrl),
    '181.204.31.17',
    89456,
  );
  print('Proxying atttttttttttttttttttttttttttttttttttttt');
} catch (e) {
  print('Proxying at 失败://$e');
}

print('Proxying at http://${server.address.host}:${server.port}');

}


I/flutter (30001): Proxying at 失败://SocketException: Failed to create server socket (OS Error: Cannot assign requested address, errno = 99), address = 111.204.31.117, port = 15901
E/flutter (30001): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: The getter 'address' was called on null.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant