java.io.IOException: Bad DNS address - in opening a HttpConnection
        Posted  
        
            by Shreyas
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Shreyas
        
        
        
        Published on 2010-05-17T10:55:39Z
        Indexed on 
            2010/05/17
            11:00 UTC
        
        
        Read the original article
        Hit count: 493
        
Hi,
I m opening a HttpConnection to a URL. Its working in simulator but when i try it in device, it gives "java.io.IOException: Bad DNS address" while opening the HttpConnection. I serached the forums but havent got the solution yet.
That URL is opening in Blackberry device Internet Browser but not getting the HttpConnection (HttpConnection is coming NULL) when i try through my code.
© Stack Overflow or respective owner