problem to connect to http WI - FI

I'm triying to connect to HTTP using a WI - FI connection, but it gives an exception:

net.rim.device.cldc.io.dns.DNSException: DNS error

Error code: 7. This error occurs in the las line copied below.

This is the code:

 HttpConnection conn;
    boolean stopUpdate = false;
    byte[] file = null;

    try
    {

        conn = null;
        String URL = urlupdate + ";deviceside=true;interface=wifi";
        conn = (HttpConnection)Connector.open(URL);

The URL is:

http://localhost/vademecum/Pepe.doc;deviceside=true;interface=WiFi

The Simulator has WiFi connection.

I read another post, but none helps me.

I await your comments.

Thank you

I agree that removing '; deviceside = true' could help.

Also, AFAIK, the Simulator just wit localhost.  How about try the IP address of your PC, since this seems to be what you are trying to "reach".

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Don't want search engine ASK with Firefox or in the toolbar

    Whenever I download Mozilla Firefox, which I used it yesterday, I get ASK with her and she wants to be my search engine and in the toolbar--so I delete it all to get rid of it. I use iGoogle and I don't want to ASK.com . Can I get Mozilla without it

  • Add the second hard drive to HPE-400Z

    I am trying to add a secondary hard drive to expand the storage space that I only have 10% of free space on the current. "Will buy one online" Seagate Desktop drive HARD 2 to 7200 tr / MIN SATA 6 Gb/s 64 MB Cache 3.5 "-drive retail Kit internal (STBD

  • Update for Windows 7 for non-bluetooth

    This update 'important' windows 7 keeps failing. CSR plc - Audio - stereo Bluetooth Audio I have no idea why, but he has repeatedly tried to install without success.  Do I have to first remove the bluetooth? Thank you Sam

  • No sound from speakers and headphones, maybe not its output?

    At least two weeks now, I tried to find a solution to my windows xp computer after having no sound. I don't think it's my codecs, drivers or the speakers that I have recently reinstalled my drivers and codecs and it may not be my speakers because I u

  • YOUR PIX 515 failover

    I wonder if I connect two 515 URs pair together as a failover. I know that I would normally use a HEART and a FO but I already have two sisters and I see if I need to order a new FO this.