StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder(). permitAll().build(); StrictMode.setThreadPolicy(policy); Socket socket = new Socket("127.0.0.1", 5051);
Works, no error. When I then: GoRicochetMobile.echoBot(privateKey); I get: 08-15 08:24:27.441 26959-26959/? I/GoLog: error setting up onion service: dial tcp4 127.0.0.1:9051: getsockopt: connection refused Has any one had anyluck getting go code to make network connections on Android? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.