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
939 views
in Technique[技术] by (71.8m points)

postgresql - Getting Error of "Connection Timed Out" and "OS Error"

Launching libmain.dart on Gorgeo 4GL in debug mode...
libmain.dart:1
√  Built buildappoutputsflutter-apkapp-debug.apk.
V/PhoneWindow(10971): DecorView setVisiblity: visibility = 0, Parent = ViewRoot{4b712b0 com.example.thesocial/com.example.thesocial.MainActivity,ident = 0}, this = DecorView@b80e062[MainActivity]
D/Surface (10971): Surface::connect(this=0x8b962000,api=1)
D/Surface (10971): Surface::connect(this=0x8b8fd000,api=1)
Connecting to VM Service at ws://127.0.0.1:52475/qaS-Qs8zk5w=/ws
I/zygote  (10971): Do partial code cache collection, code=18KB, data=30KB
I/zygote  (10971): After code cache collection, code=18KB, data=30KB
I/zygote  (10971): Increasing code cache capacity to 128KB
I/zygote  (10971): Do partial code cache collection, code=61KB, data=61KB
I/zygote  (10971): After code cache collection, code=61KB, data=61KB
I/zygote  (10971): Increasing code cache capacity to 256KB
I/flutter (10971): http://10.0.2.2:8000/user/signup
I/flutter (10971): SocketException: OS Error: Connection timed out, errno = 110, address = 10.0.2.2, port = 56162

Getting this Error: I/flutter (10971): SocketException: OS Error: Connection timed out, errno = 110, address = 10.0.2.2, port = 56162

See Question&Answers more detail:os

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

1 Answer

0 votes
by (71.8m points)

You should try this:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.shop_app">
   <uses-permission android:name="android.permission.INTERNET" />
    <application>

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

...