Questions tagged [unknown-host]

An unknown host is an error message that generates when a destination computer or host server name cannot be resolved. The message indicates that the user's provided host server name does not exist or match any Domain Name System (DNS) records. The unknown host message is common when a user tries to connect to a remote host. The error occurs for a number of reasons, including underlying configuration, server unavailability or incorrect host name.

Unknown Host Definition - What does Unknown Host mean?

An unknown host is an error message that generates when a destination computer or host server name cannot be resolved. The message indicates that the user's provided host server name does not exist or match any Domain Name System (DNS) records.

The unknown host message is common when a user tries to connect to a remote host. The error occurs for a number of reasons, including underlying configuration, server unavailability or incorrect host name. Stop Ransomware Mid-Flight Techopedia explains Unknown Host

An unknown host message is generated when a user attempts to ping a host name without a configured DNS resolution. If the ping is unsuccessful, the user should verify that the ping was sent to the correct remote host address. If so, the user should verify DNS name resolution, configuration and Windows Internet Naming Service (WINS) availability.

Commands are often used to deduce the root cause of an issue. For example, the "nslookup" command tests host name resolution and verifies DNS server registration. This command usually follows testing a computer's Fully Qualified Domain Name (FQDN) host name resolution, where the computer's Internet Protocol (IP) address is located and verified.

Source Link: https://www.techopedia.com/definition/1882/unknown-host

140 questions
18
votes
3 answers

ftp: Name or Service not known

in command line > ftp ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/data/ Work on one computer but does not work on my other one. Error returned ftp: ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/data/: Name or service not known I also tried the…
Scicare
  • 773
  • 5
  • 11
  • 25
12
votes
2 answers

How to resolve java.net.UnknownHostException

I was taken internet permission in manifest file. My mobile network connection is also working. The main code: /** * Created by Yogesh on 5/07/2016. */ public class All_Item_Fragment extends android.support.v4.app.ListFragment { // Declare…
yogesh puranik
  • 121
  • 1
  • 1
  • 7
10
votes
1 answer

Unable to resolve host: URL No address associated with hostname

I have an web service call to bring down a JSON object and it only works if I have the IP address and not the host name. I have been fine using IP addresses but now I need to have the host name. Here is my code StringBuilder stringBuilder = new…
BigT
  • 1,383
  • 5
  • 23
  • 50
6
votes
2 answers

Validate contents of .ssh/known_hosts file

Is there some cli tool I can use to validate the contents of known_hosts? Maybe try to ping all the hosts in there and see if I can connect to each? Probably using either ssh-keygen or ssh-keyscan?
Alexander Mills
  • 1
  • 80
  • 344
  • 642
6
votes
4 answers

Networking code sometimes throws UnknownHostException

I am trying to data from a server. Sometimes my code fails due to an UnknownHostException. Why is that? What is the cause of this problem?
TCM
  • 16,242
  • 43
  • 150
  • 245
5
votes
1 answer

GoogleAuthException Unknown Source

I am generating token using GoogleUtilAuth.getToken().I have also generated two client ids one for webpage and one for android application and both are in same project .Followed this link verification from back end server here is my code : package…
Bansal_Sneha
  • 1,039
  • 12
  • 36
5
votes
0 answers

Java: Intermittent UnknownHostException

In my application which runs on Jboss server, we make an http connection to another application. Both the application lives in the same datacenter. We use the VIP to connect to the application. This works fine in production except for a very small…
user1270392
  • 2,401
  • 4
  • 19
  • 24
4
votes
3 answers

How to know the cause of UnknownHostException?

An UnknownHostException is thrown if a server is down or if there is no internet connection. How can I determine if the UnknownHostException is thrown because the server is down or there is no internet connection? The reason for this is I need to…
Arci
  • 6,327
  • 20
  • 65
  • 95
4
votes
1 answer

How to change the place where git bash should look for known_hosts in windows

I normally use Linux and everything goes very well. :-) But I have a machine which runs with Windows 7. :-\ When I try to connect to a server using Git Bash I receive following message: The authenticity of host '144.76.35.106 (144.76.35.106)' can't…
4
votes
1 answer

Novice: JNLP app won't run (Unable to Load Resources)

Forgive me, but I'm very new to this. I have a JNLP file on my work computer, and have access to work at home. I set up my VPN, and copy/pasted the JNLP file to my home computer. However, when I launch it (I upgraded to Java 7 using Windows 7…
user3241469
  • 41
  • 1
  • 1
  • 4
4
votes
1 answer

Unknown host exception returned when attempting to connect to the server on the HTC Rezound and only on 4g

I have a very specific Android HTC Rezound issue and I'm hoping someone may have a solution. While using the HTC Rezound AND connected to a 4g network I recieve an unknown host exception error when attempting to connect to our servers using…
3
votes
0 answers

Android HttpURLConnection randomly throws java.net.UnknownHostException: Host is unresolved

I have a mostly complete android application that is exhibiting some odd behavior when contacting my servers. First thing to know is the environment. There are several devices on the network that provide constant udp media streams. They do not…
3
votes
1 answer

api.api.ai: Temporary failure in name resolution

With my code (shown below), I get proper result randomly. But most of the time I get error. EXCEPTION: java.net.UnknownHostException: api.api.ai: Temporary failure in name resolution at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at…
Aman ZeeK Verma
  • 153
  • 1
  • 7
3
votes
3 answers

UnknownHostException java

My program runs perfectly for sometime time, but after that I get an error java.net.UnknownHostException: www.sears.com at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at…
3
votes
2 answers

java.net.UnknownHostException when attempting to connect to database

I am attempting to connect to an Oracle database through Java with the Oracle JDBC driver with the following code (obscuring the host, service, user, and password): import java.sql.*; public class Main { public Main () { try { …
Alex
  • 557
  • 1
  • 7
  • 15
1
2 3
9 10