stablekernel / postgresql-dart

Dart PostgreSQL driver: supports extended query format, binary protocol and statement reuse.
https://www.dartdocs.org/documentation/postgres/latest
BSD 3-Clause "New" or "Revised" License
128 stars 32 forks source link

OS Error: Permission denied, errno = 13 #110

Closed cardosodario closed 4 years ago

cardosodario commented 4 years ago

hi

in debug mode the connection with postgresql work

in release mode i receive this message

SocketException: Connection failed (OS Error: Permission denied, errno = 13) address = 192.168.4.46, port 5432

i IP and Port is correct

my device is same network Postgresql

how i resolv this?

dario

cardosodario commented 4 years ago

solved the problem

i insert this line in AndroidManifest.xml of main

<uses-permission android:name="android.permission.INTERNET"/>

dario

RYOKSEC commented 4 years ago

Thanks a lot bro saved me a lot of time