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 8281821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:10:06+00:00 2026-06-08T10:10:06+00:00

I have a little example running that sends a message through a socket from

  • 0

I have a little example running that sends a message through a socket from an Android device to the PC.
The server is in C++ using an example from this link and the client is a simple Android app.

The problem that I have is that when I run both on my PC (android app on Eclipse’s emulator) it works correctly, but when I use an android device I keep getting a java.net.ConnectException due to a connection time out.

At first I thought it could be a firewall problem but I created a rule allowing communication through the port that I am using and things kept working in the same way. I tried to switch off the firewall just in case and nothing happened.

I have pinged the PC from Android and viceversa and everything is fine.

Any ideas on what can I be missing? Both devices are on the same network of course!

Thanks in advance.

  • 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-06-08T10:10:08+00:00Added an answer on June 8, 2026 at 10:10 am

    There appeared to be some kind of firewall blocking incoming requests other than that of Windows. I tried the other way around, starting the communication from Windows’ side and everything works like a charm!

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

Sidebar

Related Questions

I'm using ActionBarSherlock and have a little problem. In the Fragment Tabs example, there
Suppose I have some PHP code running inside a web server, for example, running
I have a little application here which deals with QuickTime video using QTKit. This
I have created a little example,please have a look, http://jsfiddle.net/bWTwL/ I want to have
I am writing some documentation and I have a little vocabulary problem: http://www.example.com/en/public/img/logo.gif is
Can anybody give me a little advice please? I have a string, for example
I have little question about how web browser retrieve webpage? I know this User
I have created a little example(below) on my attempt to safely stop multiple threads
I have a user that is currently running my Winforms app on Win7. My
I have a multi-dimensional array similar to the example below that I want to

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.