Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6331759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:07:53+00:00 2026-05-24T18:07:53+00:00

My Android code makes a web service call when I run the code on

  • 0

My Android code makes a web service call when I run the code on my local Android Emulator using the URL: http://192.168.56.1/test/Service1.asmx .When I run the code in my emulator I get the desired output with the above URL but when I install app on my smartphone and tried using the same then there was an error saying connection refused. I have opened port 80 on my Windows 7 machine through the Firewall Settings.

Now I need to know how to unblock the firewall of my Mcafee AntiVirus such that the error of connection refusal is not present.

Can anyone please help ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:07:55+00:00Added an answer on May 24, 2026 at 6:07 pm

    192.168.x.x network is a private network and cannot be accessed outside, i.e from actual android device in your case.

    Android simulator works on your computer that is a part of the private network, so the 192.168.56.1 server is accessible. But actual android device works outside of your private network.

    Place your webservice on a server with a real ip-address, or setup a firewall on the server with real ip-address to implement a passthrough connection via this real ip-address and port to your internal private network resource.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently i am using Handlers to call web service methods to make it run
I have this code on my Android phone. URI uri = new URI(url); HttpPost
I´m using a checkbox in my code that when its checked it makes a
To be able to write nice code between my application/activies and a local service
I'm trying to contact a RESTful WCF POST web service from an android client
I have a web app, that also has an iPhone and Android app using
I have an IntentService which makes some web service calls. Before making these calls
Here http://source.android.com/source/code-style.html#follow-field-naming-conventions it is stated that : Field Names Non-public, non-static field names start
Android Code Style Guide defines Android Code Style Rules. To conform to these rules
From my android code I try with the android browser to access a tomcat

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.