Cannot connect locally on android device.

Hello,
I'm using JDeveloper 11.1.2.3. I created a mobile application by which i can access a table from the database. I did this by creating a web service from data controls. I deployed the application to the android emulator. Everything works great and i'm able to query the table using a simple view criteria. I know that in order to be able to connect to the database, i have to change the url in the connections.xml file from
"http://localhost:7101/MobileExample-Model-context-root/AppModuleService?WSDL"
to
"http://10.0.2.2:7101/MobileExample-Model-context-root/AppModuleService?WSDL"
Everything works great after changing to 10.0.2.2. However, this is working only in the emulator environment. Whenever i try deploying to the device i'm getting:
Cannot connect to 10.0.2.2 on port 7101:java.net.ConnectException: Connection timed out.
I read that i should also change the port to 8080. But still it's not working.
I tried entering the URL in the browser of the device to check if its working, but it wasn't!
Any one has an idea about this?
Thank you,
Mohamed.

Hello Chris,
So the link should be:
"http://10.10.30.54:7101/MobileExample-Model-context-root/AppModuleService?WSDL"
I tried that! It didn't work. I got java.net.ConnectException: Connection timed out.
I also tried:
"http://10.10.30.54:8080/MobileExample-Model-context-root/AppModuleService?WSDL"
but still nothing. With this i get the same Exception.
I have connectivity to the local network! I tried accessing a local webpage and it's working fine! But i just can't seem to be able to run the service on the device!
Mohamed.

Similar Messages

  • Can't connect 3DS and android devices to HomeHub 3

    Ok, devices that won't connect are:
    Nintendo 3DS
    Advent Vega Android Tablet
    Orange San Francisco Android Phone
    My 3DS connected when I first bought it. but now I can't connect to the homehub at all, when I scan for wireless networks, where the Homehub should be, it just shows an empty router, doesn't show the SSID or security type.
    With the two android devices, they show the SSID ok, but they don't recognise the security type, they show the network as open (when it actually has WPA2 encryption) - thus it doesn't give me anywhere to put in the passphrase
    Anyone else had any trouble with these and know of any fixes?

    sometimes interference from other wifi devices around your area can cause this...HH3 is normally on auto search for the best channel on wifi,and pressing the wifi button or reseting can resolve the problem,glad you have sorted it
    Q. There is smoke coming out of my open reach box... so can I have a new one.
    A. Sorry sir, The fault is showing at the exchange so your box should be ok.
    BRING BACK UK CALL CENTRES!!!!!

  • Cannot connect to mobile bluetooth device in my car

    I have an iPhone 4 and cannot connect zu the mobile bluetooth device in my car. My iPhone doesn't find it. Can anybody help?

    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-84194-1&lc=en&dlc=en&cc=us&...
    if you don't have it , download and install hp wireless assistant and when your driver installation tells you to turn on bluetooth, open hp wireless assistant and turn it on.  
    Did someone help you? Pay it forward. Help someone else.
    NC4400, TC4400 Win 7 Ultimate, xp pro, both dual boot
    a bunch of thinkpads

  • On a MS Vista platform I just "upgraded" to Firefox 10.0.2 and now cannot connect. My wireless devices go throught the same DSL line and work. fine. 9.0.1 (previous version) worked fine. Suggestions?

    I just "upgradd" to Firefox 10.0.2 and now cannot access the internet. This is an MS Vista platform. Wireless devices, through the same DSL line, are still fine, suggestions?

    Did you try to view this article? [https://support.mozilla.org/en-US/kb/Cannot%20connect%20after%20upgrading%20Firefox Problems connecting after Firefox Update]
    You should also try using Firefox in [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode]
    Thanks,
    Borian

  • Cannot connect local database using net service_name

    Good Morning to all ;
    FYI : This  question wrongly posted under high availability. Now it was removed from there.
    I am trying to connect my local database  using remote authentication.
    but getting error. Client & Server reside on same  server.
    SQL> conn u1/u1@primdb
    ERROR: ORA-12545: Connect failed because target host or object does not exist
    SQL> conn / as sysdba
    Connected.
    SQL> show parameter db_name;
    NAME                                 TYPE        VALUE
    db_name                              string      primary
    SQL> show parameter service_names;
    NAME                                 TYPE        VALUE
    service_names                        string      mydb
    SQL> show parameter db_domain;
    NAME                                 TYPE        VALUE
    db_domain                            string      primary.com
    SQL> show parameter global_name;
    NAME                                 TYPE        VALUE
    global_names                         boolean     FALSE
    SQL> select * from global_name;
    GLOBAL_NAME
    PRIMARY
    [oracle@localhost admin]$ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2014 16:32:08
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oel5.linuxserver)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Listener failed to start. See the error message(s) above...
    my listener.ora file contents :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = primary)
          (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
          (GLOBAL_DBNAME = mydb.primary.com)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    my tnsnames.ora contents
    primdb= 
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver)(PORT=1521))
        (CONNECT_DATA =
          (SERVER=DEDICATED)
          (SERVICE_NAME = mydb)
    $ tnsping primdb
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2014 16:40:55
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER=DEDICATED) (SERVICE_NAME = mydb)))
    TNS-12545: Connect failed because target host or object does not exist
    Thanks in advance ..

    Good Morning  Ed Stevens ;
    Nice to see you once again !
    I remember , you are very familiar with  oracle net services.
    I read your article. Exploring the LOCAL_LISTENER parameter
    Now i have removed listener.ora & tnsnames.ora files .
    now the listener is registered as dynamically'
    SQL> alter system register;
    Ed Stevens wrote ..
    simply do a  "ping oel5.linuxserver"  and report the result.
    $ ping  oel5.linuxserver
    ping: unknown host oel5.linuxserver
    $ hostname
    localhost.localdomain
    $ echo $ORACLE_HOSTNAME
    oel5.linuxserver
    my new tnsnames.ora contents
    primdb = 
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver)(PORT=1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb)
    $ tnsping primdb
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2014 19:57:13
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver)(PORT=1521)))
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))
    TNS-12545: Connect failed because target host or object does not exist

  • [Bitlbee] Cannot connect locally

    I installed my own Bitlbee package and I can't even connect to it from the box it's running on through xinetd. When I connect from a different box in the LAN all goes well and I end up in a channel with @root.
    I edited /etc/hosts.allow, and here's my /etc/xinetd.d/bitlbee:
    service ircd
    socket_type = stream
    protocol = tcp
    wait = no
    user = nobody
    only_from = localhost
    server = /usr/sbin/bitlbee
    port = 6667
    Does anyone have a clue?

    service bitlbee
    type = UNLISTED
    socket_type = stream
    protocol = tcp
    wait = no
    user = bitlbee
    group = bitlbee
    server = /usr/sbin/bitlbee
    port = 6667
    disable = no
    only_from = localhost
    I can connect fine here.

  • Cannot publish into my Android device

    I have a Nexus S and trying to test my AIR for Android app in it.
    When I put to publish, it keeps showing me "publishing" but never ends.
    What that could be?
    Tkz

    anyone?

  • New to the iphone, I cannot connect with the bluetooth to other devices, any help?

    I have a new IPhone 4, I cannot connect with other bluetooth devices - any help??

    What, exactly, are you trying to pair your phone with? These are the only supported bluetooth profiles:
    http://support.apple.com/kb/ht3647

  • AnyConnect (SSL VPN on IoS) - Connection stuck on Android

    Hiya,
    I have an Any Connect WebVpn (ssl vpn?) set up on an IOS 15.2(4)M4. My current WebVPN is set up for Cisco Phones to use SSL VPN to connect to a Cisco Call Manager (CUCM 9.x). I also tried connecting with an Any Connect client from a PC and it seems to work fine.
    The issue is when I try to connect through an Android device, I get the following output from 'debug webvpn':
    Jan 10 16:04:17.192: WV: sslvpn process rcvd context queue event
    Jan 10 16:04:17.192: WV: sslvpn process rcvd context queue event
    Jan 10 16:04:17.220: WV: sslvpn process rcvd context queue event
    Jan 10 16:04:17.224: WV: sslvpn process rcvd context queue event
    Jan 10 16:04:17.224: WV: Entering APPL with Context: 0x242D9C30,
          Data buffer(buffer: 0x242F2930, data: 0xD9E7658, len: 0,
          offset: 0, domain: 0)
    Jan 10 16:04:17.224: WV: Fragmented App data - buffered
    Jan 10 16:04:17.224: WV: Entering APPL with Context: 0x242D9C30,
          Data buffer(buffer: 0x242F2470, data: 0xEA4D858, len: 884,
          offset: 0, domain: 0)
    tbr-edi-2901#
    Jan 10 16:04:17.224: WV: http request: / with no cookie
    Jan 10 16:04:17.224: WV: validated_tp :  cert_username :  matched_ctx :
    Jan 10 16:04:17.224: WV: failed to get sslvpn appinfo from opssl
    Jan 10 16:04:17.224: WV: Error: Failed to get vw_ctx
    Jan 10 16:04:17.224: WV: Appl. processing Failed : 2
    Jan 10 16:04:18.344: WV: sslvpn process rcvd context queue event
    Jan 10 16:04:18.348: WV: sslvpn process rcvd context queue event
    Jan 10 16:04:18.376: WV: sslvpn process rcvd context queue event
    and then the messages in italics above keep on appearing in an endless loop.
    Any ideas what could be the issue.
    Any help is highly appreciated.
    Thanks,
    David

    Hi,
    I'm having the same issue please let me know if yo found the solution. Thanks in advance

  • Cannot connect wifi after updated ios7.1.2

    After i updated to ios 7.1.2, i cannot connect wifi but another device can connect wifi normally.

    Because...
    a) Some people are earnestly trying to help.
    b) Some people are clueless about this royal Apple iOS update screwup!
    I am extremely ****** off... partly because one of the so-call 'genius' suggestions of "forgetting network" and reapplying degraded my phone from occasional WiFi loss to COMPLETE WiFi loss. Then I wasted two hours trying the other 'genius' suggestions like resetting the entire phone and network settings!
    B.S.!
    Apple still refuses to acknowledge this problem! What else is new?

  • HT1349 Why bluetooth cannot connect between MacBook Pro and iPhone 3? If I need how?

    I'm trying to connect ipnone 3 and MACBook Pro through bluetooth for photo transfer...but unable to recongnise, please advise?

    "I tried enabling Bluetooth on my MacBook Pro and iPhone, thinking I could file transfer some photographs."
    This is not a feature of iphone.  Never has been.
    Other than tethering for internet, where provided by the carrier, you cannot connect to a computer/device/phone and do anything.
    Bluetooth is for handsfree telephone devices/headsets, stereo speakers/headsets, some keyboards, some peer to peer apps from the app store and tethering where provided by the carrier.

  • Personal Hotspots Now Listed Under WiFi - Cannot Connect

    Strange problem.
    I have an IPad Air that I enable Personal Hotspot.  Works great on my Mac, works great on an iPhone 5s, works great on iPhone 6 Plus.  On iPhone 6, I cannot connect.  All iOS devices are running iOS 8.0.  Strange thing, on the one that it is not able to connect, there is a new "Personal Hotspots" area under WiFi.  The other devices have the Personal Hotspot show up with the other WiFi hotspots - these can connect without issue.
    I thought there was a new feature in iOS8 that allowed one device to automatically enable the hotspot of another iOS device, so I tried disabling the personal hotspot on the iPad Air and get the same error.  See enclosed pictures, notice how the iPad Air shows up in two different locations, when under WiFi, it connects.  When listed under "Personal Hotspots" it does not connect.

    In Settings -> Cellular
    I get:
    Cellular Data (on)
    Enable LTE (on)
    Data Roaming (off)
    Cellular data Network (for APN option)
    Call time
    Cellular data usage
    User cellular data for...
    Reset statistics
    That's it

  • Mobile Devices (Android and iOS) cannot Connect to WS 2008 RRAS L2TP VPN with Pre-Shared Key

    I have my Windows Server 2008 standard installed with RRAS service and configure with L2TP VPN with pre-shared key. Services such as Active Directory, DHCP and DNS are not installed. The Internet connection doesn't pass through a router to my server machine.
    I have the Verizon fios Internet cable plugged in to the server machine directly.
    PCs running Windows and Mac OS X can connect to the server without problem. When I tried to connect by using android or iOS mobiles and tablets, they cannot connect to the server. If I change the VPN type to PPTP, the mobile devices can connect successfully
    but I would like to use IPSec/L2TP since it's more secure.
    I tried so hard to look for the solution for this issue on Internet but I had no luck on that. Can anyone please provide me some help, please ?
    Thanks,
    CK

    Hi CK,
    I think we may need to create a policy in Network Policies. Please follow the steps below,
    Right click Network Policies, Click New.
    Enter the policy name, click Next.
    Click Add, select the Day and Time Restrictions, click
    Add.
    In the Day and Time Restrictions, choose Permited for
    all, click OK.
    Click Next five times(leave everything default), click
    Finish.
    Move the policy to top and try to connect with your device.
    If issue persists, please make sure that the Connection Requet Policies have been configured properly.
    For detailed information about how to create a network policy, please refer to the link below,
    Configuring NPS network policies
    http://technet.microsoft.com/en-us/library/dd441006.aspx
    Best Regards.
    Steven Lee
    TechNet Community Support

  • I cannot connect any Apple device to my business network.  iPhone or iPad

    Several employees and the owner of the company have iPhones and iPads but not one single person can connect any of them to my Wi-Fi network.  All Android devices and all laptops (we do not have any Macs) can connect just fine.  What are we doing wrong??

    What do you mean by "what kind of wifi?"
    I have a Cisco 1710 router
    Its an open network so no wep/wpa.
    how do I find out if I am using Mac Filtering?
    Yes I do broadcast the SSID and the devices pick it up just fine but when I try to join it simply says "unable to connect to west101."
    Unfortunately I am totally illiterate when it comes to networking.  I work for a small company with 4 branches and about 30 employees.  We have extremely poor IT support that is bundled into a licensing agreement with our software provider.  We cannot afford outside IT help and they fired the guy who did have some IT knowledge.  Now I am the "IT liasion"  (hahahahaha  what a joke).  Should I start by reading "Networking for Dummies" or do you know of a better book/website to start with?

  • IPad guest users cannot see YouTube videos but Android devices can

    Hi all,
    I am in the process of moving a guest SSID from a local Wireless LAN Controller to it being anchored for security reasons to another WLC in the DMZ. I have created a test SSID which is anchored in the DMZ and have found that everything is working perfectly except for YouTube videos. While those guest users that are connected on Android devices can watch YouTube videos just fine, those connecting via iPads or iPhones are unable to watch these videos. Any ideas?
    Thank you in advance for your help.
    rgrds,
    inayat

    Hi George,
    Thank you for your reply.
    I did two packet captures: once with a working Android device and once with a failing iPad. There did not seem to be any difference in packet sizes when trying to download a YouTube video (both seemed to be around 1368 bytes per packet). The packet capture with the failing iPad showed a number of TCP resets and attempts to connect to 224.0.0.251 MDNS) - that seemed to be the only difference with the packet capture from the working Android device.
    What I did notice when looking at the existing local WLC (from where the iPads can successfully connect to YouTube - remember that they are failing when they are tunnelled to a test SSID in the DMZ) the local WLC contained a Layer 3 MGID for 224.0.0.251 with a number of users in that group which were iPad users. When I looked at the anchor WLC in the DMZ it did not have this MGID listed - or any other Layer 3 MGID for that matter.
    Your comments and ideas please!
    rgrds,
    inayat

Maybe you are looking for