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
1 answer

Eclipse Kepler crashes regularly with java.net.UnknownHostException

My Eclipse Kepler on Opensuse 13.1 crashes regularly (about 5 times a day). In the error log I see this: java.net.UnknownHostException: chmalap.site: chmalap.site: Name or service not known at…
Chris Maes
  • 35,025
  • 12
  • 111
  • 136
0
votes
1 answer

UnknownHostException in Android App but working in Browser

I know this questions has been asked several times on SO but those doesn't resolve my problem. I have required permissions in Manifest file. Webservice is working fine in browser but gives UnknownHostException in Android application. Here is my…
Prakash
  • 449
  • 2
  • 4
  • 15
0
votes
1 answer

UnknownHostException and unknown source with openConnection() in Eclipse

I'm new user on the site web. My problem is the follow: I've a java project in Eclipse tool. Really, it is a java server that must parse data in a web and after simulate login in the same web. I active this server with android phone (client) that…
0
votes
1 answer

unknown host exception while getting csv through url

When i executes the below code: import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Properties; import…
Aquarius24
  • 1,806
  • 6
  • 33
  • 61
0
votes
0 answers

UnknownHostException in version 4.1.2 in Android

I have an HTTP get Service url and i can connect and get resource from this url on almost all version of sdk but in 4.1.2 it gives UnknownHostException. Internet permission is already there and also internet connection is active. Please help. Here…
Rahul Chauhan
  • 353
  • 1
  • 4
  • 17
0
votes
2 answers

Any alternative maven glassfish plugin?

Is there an alternative Maven Glassfish Plugin to this one? I'm getting an "UnknownHostException: maven.ocean.net.au" when running mvn glassfish:deploy and I've read on many places on the internet and here on stackoverflow that there is in fact a…
Henrique Ordine
  • 3,337
  • 4
  • 44
  • 70
0
votes
1 answer

HTTP Request with post parameters to an online URL throwing a RuntimeException

I was making a program that uses a PHP page to connect to a database and then parse the information through JSON. The problem is, I get a RuntimeException on the AsyncTask responsible for the network comunications. I am using a physical android…
rdelfin
  • 819
  • 2
  • 13
  • 31
0
votes
3 answers

UnknownHostException

why it throw UnknownHostException? parameters = "user=akirus&pass=1234&version=1"; String result = excutePost("http://russianimperial.ru/minecraft/loginServer.php", parameters); public static String excutePost(String targetURL, String…
Akirus
  • 108
  • 2
  • 11
0
votes
2 answers

what could be the reason I am getting java.net.UnknownHostException, when I try to ping my own pc with a network IP?

I try to ping the server which is my own PC, with the following line of code : InetAddress.getByName(serverResourceLocator).isReachable(5000) // where serverResourceLocator is …
saplingPro
  • 20,769
  • 53
  • 137
  • 195
0
votes
1 answer

Error while parsing JSON Array from response string from EC2 instance

I have written a java restful web service and deployed it on ec2 instance with tomcat7 as a server. I am trying to retrieve json array coming in the response object from the web service. My response object is something like this :- { …
Swati Rawat
  • 1,729
  • 1
  • 19
  • 34
0
votes
1 answer

android - UnknownHostException after certain time while no operations on android phone

I used "HttpClient" and "URLConnection" to get json dat from server, and it's working fine when app start. The problem is, when I leave my phone for about more than 20 minutes there without any operation, then I start the app, it give me …
Tom
  • 4,612
  • 4
  • 32
  • 43
0
votes
3 answers

Android: IOException with HttpGet request

Im trying to connect to a server and than receive some data back in Json format. Here is my java code: HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet("https://my.server.com/validate/" + data); request.setHeader("Accept",…
0
votes
1 answer

What is the reason of UnknownHostException in android application?

I am facing a strange problem. I am trying to access a server from Samsung Galaxy Nexus. Things work fine most of the times, however I have observed that sometimes, the application running on the mobile is not able to connect to the server, below…
Robin
  • 497
  • 5
  • 19
0
votes
1 answer

Android: UnKnownHostException at httpCLient.execute

I am getting UnknownhostException at execute step in: httppost = new HttpPost("http://www.xxxx.com/contoller/method"); httpResponse response = client.execute(httppost); java.net.UnknownHostException "www.xxxx.com" Some where i read, i need to…
Archie.bpgc
  • 23,812
  • 38
  • 150
  • 226
0
votes
3 answers

UnknownHostException at the android emulator

I've got an UnknownHostException in my android application when I want to get to my web service. I inserted an at my AndroidManifest.xml. If I go to my link of webservice via browser…
Rikki Tikki Tavi
  • 3,089
  • 5
  • 43
  • 81
1 2 3
9
10