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

Why would my Android app throw UnknownHostException while Browser connects fine?

I am diagnosing intermittent connection problems reported to me by my some of my users. Here is one such report from a user, in his own words: My 3g icon is dim, but regular bars are lit, and it's been like that for a while, so I can consistently…
esilver
  • 27,713
  • 23
  • 122
  • 168
1
vote
4 answers

Sometimes my app crashes with UnknownHostException

In my app i have access to web server. It works fine in Some phones but while testing in Samsung Galaxy Model No - GT-S5830i Android Version - 2.3.6 it keeps on showing Unknown host exception. I have checked the url from browser its working…
vinothp
  • 9,939
  • 19
  • 61
  • 103
0
votes
2 answers

UnknownHostException - Android - while Read JSON

I have been trying to fetch facebook like count of any web url. for example if I want to fetch google like count, I am gonna use the link given…
Nixit Patel
  • 4,435
  • 5
  • 30
  • 57
0
votes
1 answer

How do I resolve a 'unknown-host' error with Netflix Eureka service discovery?

I am following a tutorial for the service discovery with Eureka. I downloaded my spring projects from start.spring.io. I have a Eureka server and two clients. My Eureka server picks up both services and show it on the web interface but when I try to…
0
votes
0 answers

Fetch image in FirebaseMessagingService causing UnknownHostException

We are using image is our push notification. This is the code to get the bitmap from URL: try { return BitmapFactory.decodeStream(URL(url).content as InputStream) } catch (e: Exception) { //Used for debugging production data…
0
votes
0 answers

python code worked with Proxy server, now not working without

'All,this is code that will put production counts off machines and load them into a lean manufacturing software. This tracks production states and Preventative maintenance for machines. The code used to work until network changes started with…
genericUserName
  • 11
  • 1
  • 2
  • 3
0
votes
1 answer

(HY000/2005): Unknown MySQL server host 'fdb32.awardspace.net:3306' (-2) Connection failed: Unknown MySQL server host 'fdb32.awardspace.net:3306' (-2)

Hi all I a new to sql so I apologise in advance. My link is http://suteki.atwebpages.com/test.php and the error I keep getting is Warning: mysqli::__construct(): (HY000/2005): Unknown MySQL server host 'fdb32.awardspace.net:3306' (-2)…
cinnamon
  • 1
  • 2
0
votes
0 answers

Java unknownHostEception on http get ping request

I'm facing strange behavior when i request my own ping server with java HttpComponent client. Sometimes, an unknownHostException is thrown with no reason. This exception is principally thrown after switching network, for example when i changed the…
Otman El
  • 49
  • 4
0
votes
0 answers

UnknownHostException on Android Devices whereas it is working on IOS Devices

I am getting UnknownhostException on android application whereas same URL is working on Chrome browser of my android mobile device and on IOS application as well. Unable to understand the cause of it.
0
votes
3 answers

Unknown Host Exception

Very recently, I started getting the following error back from my widget. I didn't make any changes and I'm wondering what the problem could be and how to get around the problem. My widget gets updated based on information from a Service that I…
user836200
  • 655
  • 2
  • 12
  • 20
0
votes
1 answer

hdfs put fails from laptop to remote hadoop cluster

I have my hadoop cluster set up on a different network. Because of this, hdfs put is failing when I run it from my laptop. Is there a port I should forward or something to access the datanodes remotely? I see it's using the local ip address in the…
steven hurwitt
  • 183
  • 2
  • 15
0
votes
1 answer

SpringBoot in Docker not connecting to Mongo on server (Non-Dockerized)

I'm getting following error while trying to connect to mongodb cluster - ReplicaSet (non-dockerized) deployed on three different server via a dockerized spring boot application. 2020-04-06 19:40:06.263 INFO 1 --- [ main]…
0
votes
1 answer

UnknowHostException cannot recover when network is back but restart JVM solved it

From one timepoint, our JVM(In fact a Yarn NodeManager) start to report UnknownHostException; It is reported by JVM code return InetAddress.getByName(host); for the next more than 2 days, the exception always exists; During the time it is…
wuchang
  • 3,003
  • 8
  • 42
  • 66
0
votes
1 answer

SOAP petition over Https is working in Android 8|9 but not in Andorid 5|6

I have a project in Android Studio that needs to send a petition over Https to a server to login and download some information. When I run the application in tablet (Android 8) and a phone (Android 9) works flawlessly, but when I run it in a tablet…
0
votes
1 answer

UnknownHostException in java app, in Postman there is not problem

I am trying to hit an API that is on internet in a Java app. However, I am getting an UnknownHostException exception. If I hit the same API using Postman, I get the results correctly. I have tried several things I found on internet like for example…
Dante
  • 3,208
  • 9
  • 38
  • 56