Termux-Java icon indicating copy to clipboard operation
Termux-Java copied to clipboard

Networking failure

Open xxMrPHDxx opened this issue 4 years ago • 3 comments

I'm trying to run like a socket to "gateway.discord.gg" but it's throwing UnknownHostException. I ran the same code on my pc and it works just fine

xxMrPHDxx avatar Jun 01 '21 07:06 xxMrPHDxx

Im also having network issues where I can't connect at all to anything

12brendon34 avatar Jul 08 '21 09:07 12brendon34

I'm having the same problem

wongz avatar Jun 09 '23 13:06 wongz

I'm having the same problem

System.setProperty("sun.net.spi.nameservice.provider.1", "dns,sun"); or run use this: "-Dsun.net.spi.nameservice.provider.1=dns,sun" , will use /etc/resolv.conf

wongz avatar Jun 09 '23 14:06 wongz