Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection refused #31

Open
likezjuisee opened this issue Oct 2, 2017 · 1 comment
Open

Connection refused #31

likezjuisee opened this issue Oct 2, 2017 · 1 comment

Comments

@likezjuisee
Copy link

++ system_profiler SPUSBDataType
++ sed -n -E -e '/(iPhone|iPad)/,/Serial/s/ *Serial Number: *(.+)/\1/p'

  • UDID=b2095a48b0df41cdd338297e1e11e6a81b7b0173
  • PORT=12345
  • RESOLUTION=400x600
  • ./build/ios_minicap --udid b2095a48b0df41cdd338297e1e11e6a81b7b0173 --port 12345 --resolution 400x600
    EnableDALDevices
    2017-10-02 10:24:10.937 ios_minicap[72393:178530] Available devices:
    2017-10-02 10:24:10.939 ios_minicap[72393:178530] b2095a48b0df41cdd338297e1e11e6a81b7b0173
    2017-10-02 10:24:10.939 ios_minicap[72393:178530] 0x1a11000005ac8509

localhost:example like$ node app.js
Listening on port 9002
Got a client
{ Error: connect ECONNREFUSED 127.0.0.1:12345
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 12345 }
Be sure to run ios-minicap on port 12345

@toaddeven
Copy link

set ipv4 connect
image

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

No branches or pull requests

2 participants