×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    Talking S60 2nd FP3 how to connect emulator to internet / apache localhost

    1st of all my configuration:
    - SDk 2.3 Symbian S60 2nd ed. FP 3
    - Device N70
    - Software development Carbide C++
    - connection dial up modem

    what i want to ask, how to connect to internet via emulator in SDK 2.3,
    i try with service application and HTTP Client example but it returning with error-34 which means failed to connect.
    i try the setting from various post : in sdk 1.x i should download ethernet program and setting it (which i dont need this 'cos in 2.x its already available), and i know i should setting the networking (in 3rd edition its not necessary cos its already available to direct connect).

    Question:
    1. How exactly i have to setting the networking for emulator in sdk 2.3 so that it can connect to internet and try it with service app or HTTPExample Client app ?
    2. How to connect emulator to apache webserver (localhost)? (i already try changing localhost with ip address but it cannot worked) example:http://192.168.0.100/PHP/index.php
    3. maybe i wrong with ip configuration (my PC is not connected with LAN, but uses direct modem with dial up (at default the ip is obtain automatically)), how exactly i should configure my ip, subnet, gateway, DNS ?
    4. should i configure my ethernet setting in emulator (not just networking in my PC)? (should i configure it exactly the same ip like in PC networking setting)

    BTW, thanks for answering... cos im newbie in networking stuff..
    and i already desperate try this things in days...

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: S60 2nd FP3 how to connect emulator to internet / apache localhost


  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    Talking Re: S60 2nd FP3 how to connect emulator to internet / apache localhost

    After searching from this forum and another forum sucess is achieved.

    for the record: i use sdk 2.3 and dont have connection to another computer (which means no ethernet card).. for anyone with ethernet card and connection to another computer just skip to number 4.. (i think )

    To connect to apache webserver (aka Localhost):
    -for anyone who not connected to another computer:
    1. Install Microsoft LoopBack Adapter. add new hardware->Select from list in installing new device [network adapters ]
    2. Go to the properties of network connection on the last page make it shared for LAN of MLBA (firewalled or not doesnt matter)
    After You do this Windows will automaticly assign ip address for MLBA and will ask you to not change it.
    3. Run cmd ipconfig in command prompt and see what ip and subnet mask has MLBA remember it!
    for example lets assume it will be:
    ip : 192.168.0.1
    subnet mask: 255.255.255.0

    4. Goto the Ethernet support config in your symbian SDK (in emulator--- tools->preferences

    Check network adapter in promisicuous mode

    select use the following ip address

    in the field ip type: 192.168.0.2 (different from computer ip)
    in the field mask: 255.255.255.0
    in the field Gateway!!!! : 192.168.0.1 (gateway of MLBA)
    !!!!(The trick is to use in Gateway ip of your MLBA ) !!!!

    type any DNS but it must be working DNS.

    proxy i think is not needed.

    And after all, select button "Adapters" and choose your MLBA.
    (thanks to tImer post in NewLc.com)

    5. change /localhost/ with your computer ip address not emulator ip eg:http://192.168.0.1/index.php

    thats it have fun .....

Similar Threads

  1. Carbide c++ Express and S60 2nd, FP3
    By Slowmo in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-01-17, 17:11
  2. Connect Nokia 7650 Emulator to Internet via modem/RAS on Win2000/WinXP Pro
    By Youth_Jack in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2006-02-05, 17:48
  3. Replies: 0
    Last Post: 2005-04-29, 23:28
  4. pls help me.....s60 emulator connect localhost without Lan/internet
    By Never_Die in forum Mobile Java Tools & SDKs
    Replies: 12
    Last Post: 2005-01-26, 07:37
  5. Replies: 1
    Last Post: 2005-01-01, 13:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •