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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:25:41+00:00 2026-06-02T15:25:41+00:00

HttpClient client = new DefaultHttpClient(); HttpPost httpPost = new HttpPost(http://simonexxx.no-ip.info/ilMercatinoDelxxx/ModificaArticolo?id= + id); //HttpPost httpPost

  • 0
HttpClient client = new DefaultHttpClient();
HttpPost httpPost = new HttpPost("http://simonexxx.no-ip.info/ilMercatinoDelxxx/ModificaArticolo?id=" + id);
//HttpPost httpPost = new HttpPost("http://151.xx.xx.247:8080/ilMercatinoDelxxx/ModificaArticolo?id=" + id);

Is there any possible reason why the HttpPost works perfectly with the IP (commented line) but not writing the relative url?

I can acces the resource with the browser in both ways.
Obviously the xxx are just for privacy.

I get:

Sending signal. PID: 15236 SIG: 3
threadid=3: reacting to signal
3
Wrote stack trace to ‘/data/anr/traces.txt’

This log should simply say I’m accessing internet from the UI activity, that should not be done, ok. But writing the IP it works fine.

  • 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-02T15:25:42+00:00Added an answer on June 2, 2026 at 3:25 pm

    I think the problem is with port. Usually DNS names translate to IP addresses and keeping the default port (80), unless you have defined to forward your request to a specific port in DNS records. Now in case of no-ip, it seems like you are using a free account and there is no such feature (in free accounts) to define port together with IP address to offer DNS name.

    So in your case, you need to append port number together with your address, as mentioned by @Martin Maurer

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

Sidebar

Related Questions

I define HttpClient in 2 different ways: 1. Plain vanilla: client = new DefaultHttpClient();
I used this code in my Android application: import org.apache.http.client.methods.HttpPost; ... HttpClient httpclient =
new Thread(new Runnable() { public void run() { HttpClient client = new DefaultHttpClient(); HttpConnectionParams.setConnectionTimeout(client.getParams(),
I am writing a metro app. This works: HttpClient client = new HttpClient(); var
I tried urllib{2}, pycurl and I'm looking at twisted's new http client. But: I
I have HttpClient 4.1. Please have a look at following program: import org.apache.http.client.methods.*; import
I use Apache's DefaultHttpClient() with the execute(HttpPost post) method to make a http POST.
I am creating an HTTP client, which handles HTTP requests and responses with a
I need some help writing an http client. The trouble comes when I try
I've got a basic HTTP client set up in C++, which works ok so

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.