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

142 questions
0
votes
0 answers

UnknownHostException on SOAP call

I'm trying to send a soap envelope to a webservice but I'm encountering a "java.net.UnknownHostException: socgentest.service-now.com" exception at the soapConnection.call line : public static void updateTicket(String ticketId, String field, String…
Jokas
  • 23
  • 7
0
votes
1 answer

Client Socket cannot find Server Socket. Throws UnknownHostException despite having the same port number

I'm following an online tutorial to get used to clients&servers in Java before I really start working with them. All I am trying to do right now is start the server and then connect the client. It's only a couple lines of code for the client and the…
user83676
  • 339
  • 1
  • 9
  • 15
0
votes
1 answer

known_hosts has two hosts

I'm trying to delete a known_host with ssh-keygen -R, however, I have two hosts on one line, like this: [slsapp.com]:1234,[108.163.203.146]:1234. Should I just go in and do it by hand?
icicleking
  • 1,029
  • 14
  • 38
0
votes
0 answers

Why do i get the UnknownHostException if there are no proxies?

I am trying to test this code from oracle.com, but get the UnknownHostException. However I can easily go to oracle.com, and everything displays fine in the browser. There are no blocks or something on my computer. Why does this happen? import…
Pasha
  • 181
  • 1
  • 1
  • 13
0
votes
1 answer

Eclipse Mars: Startup Error: UnknownHostException

I am getting this error at Eclipse Mars Startup: STATUS pluginId org.eclipse.rse.core pluginVersion 3.3.100.201407181907 code 0 severity 4 message Unexpected Exception fingerprint …
0
votes
0 answers

UnknownHost exception

Heelo everyone, I am developing an Android application that uses webservices. But when i try to connect I get a UnknownHostException. I manage to connect through my browser, and I can't seem to understand where the problem comes from. Here is my…
saloua
  • 329
  • 1
  • 4
  • 12
0
votes
0 answers

UnknownHostExcetpion on Linux

I'm getting UnknownHostException: www.google.com in method public static String getSource(String url) throws IOException { URL u = new URL(url); URLConnection conn = u.openConnection(); conn.setRequestProperty("User-Agent", …
korek
  • 113
  • 11
0
votes
1 answer

Android UnknownHostException with .local host

I experience a problem in my android app and wonder if you know a solution. I use HttpUrlConnection and if i connect to the host myhost.local (via http and https both is possible) everything works just fine. But if I want to connect to the host…
coR
  • 25
  • 2
  • 5
0
votes
1 answer

UnknownHostException when downloading file

I've been applying what seems to be simple solutions for this exception. I applied permissions in manifest and also use actual device and not an emulator. This is : fileUrl = "http://xxx.xxx.xx.xx/resources/upload/pdfs/sample ははは.pdf"; …
0
votes
0 answers

Java.net.UnkownHostException: mailHost

This textbook example is giving me an UnknownHostException. I'm putting my email address as the console arguments like this : java MailClient ivan.ivanhoe@yahoo.com Could someone give me a brief explanation why it's not possible, or advise me how to…
user3814983
  • 39
  • 2
  • 8
0
votes
1 answer

sas proc http unknow host

filename rix "&input.\rix_eligible.xls"; proc http method = "get" url = "http://www.riksbank.se/Documents/Riksbanken/RIX/2014/Eligible%20assets.xls" out = rix; run; I try running this code and get an unknown host…
0
votes
1 answer

Server runs successfully but ping throws "unknown host" on Vagrant and OS X Mavericks

I'm running a Django development server (django-admin.py runserver 0.0.0.0:9000) on Vagrant (1.6.0, VirtualBox 4.3.1) and accessing it through my local machine (http://0.0.0.0:9000). Everything works fine at first, but after about an hour I simply…
Ariel
  • 3,383
  • 4
  • 43
  • 58
0
votes
1 answer

Amazon EC2 instance Problems with UDP transmission

I have been trying to send an UDP packet from an EC2 instance to itself. I received an exception: java.net.UnknownHostException: xx.xxx.xxx.xxx: Name or service not known It was generated from the line: DatagramPacket packet = new…
0
votes
2 answers

UnknownHostException in android : Wifi issue

I have get UnknownhostException in parsing JSON data from server, My URL working on : http://jsonlint.com on real device browser(data plan only) Sometimes its working on PC browser and sometimes not. Actually I have get the wifi issue, Sometimes…
Rohit
  • 687
  • 5
  • 22
0
votes
1 answer

UnknownHostException in client.execute(httppost)

I have get UnknownHostException every time, This is my part of code: DefaultHttpClient httpClient = new DefaultHttpClient(); HttpPost httpPost = new HttpPost(url); HttpResponse httpResponse = httpClient.execute(httpPost); HttpEntity httpEntity =…
Rohit
  • 687
  • 5
  • 22