always use ipv4 localhost when using orbot http proxy
This commit is contained in:
		
							parent
							
								
									ffebb4677a
								
							
						
					
					
						commit
						a5181b22e0
					
				| @ -96,6 +96,6 @@ public class HttpConnectionManager extends AbstractConnectionManager { | ||||
| 	} | ||||
| 
 | ||||
| 	public Proxy getProxy() throws IOException { | ||||
| 		return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(InetAddress.getLocalHost(), 8118)); | ||||
| 		return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(InetAddress.getByAddress(new byte[]{127,0,0,1}), 8118)); | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Gultsch
						Daniel Gultsch