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

  • Home
  • SEARCH
  • 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 659093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:00:23+00:00 2026-05-13T23:00:23+00:00

I am trying to pull information from another site. When I try and do

  • 0

I am trying to pull information from another site. When I try and do

URL url = new URL("theSite");
url.getContent();

It throws a Connection refused: connect exception. Does this mean the site will not allow automated connections? Is there another way to get this information?

  • 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-13T23:00:23+00:00Added an answer on May 13, 2026 at 11:00 pm

    It can mean several things:

    • The site is having problems and is actively dropping connections (Refused is different from timed out, where no response was received at all)
    • An intermediary may have refused your connection, e.g. a Firewall, although if you can access the site via a browser then this is not likely the case
    • You are using the wrong port, i.e. did you mean http:// when you typed https:// or vice versa?
    • Your browser is accessing the site via a proxy. Check the browsers proxy settings and use them in url.openConnection(Proxy)

    telnet is your friend, what happens when you:

    telnet thesite 80 [or whatever port you require]
    GET /URL HTTP/1.0
    Host: thesite

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

Sidebar

Related Questions

There is a website I am trying to pull information from in Perl, however
How can I pull relevant packet information from a JpCap packet? I am trying
Well, I'm pretty much trying to figure out how to pull information from a
Hello I am trying to pull information from a page on Wikia for The
I'm trying to pull out information from a database with PHP and have the
Im stuck trying to figure out how to pull the information from my pre-populated
I'm trying to pull some information (no recursion necessary) from a jsp page (malformed
Accomplished pulling data from JSON, but having problems trying to pull additional information from
Trying to pull information from a web page for use in a Android app.
I'm trying to pull in data from a remote SQL Server. I can access

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.