Click here to Skip to main content
15,922,166 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: I'm stumped! Pin
honey the codewitch7-Jun-24 3:23
mvahoney the codewitch7-Jun-24 3:23 
GeneralRe: I'm stumped! Pin
jochance7-Jun-24 3:57
jochance7-Jun-24 3:57 
GeneralRe: I'm stumped! Pin
honey the codewitch7-Jun-24 4:01
mvahoney the codewitch7-Jun-24 4:01 
GeneralRe: I'm stumped! Pin
jochance7-Jun-24 4:23
jochance7-Jun-24 4:23 
GeneralRe: I'm stumped! Pin
Sander Rossel7-Jun-24 5:02
professionalSander Rossel7-Jun-24 5:02 
GeneralRe: I'm stumped! Pin
honey the codewitch7-Jun-24 5:10
mvahoney the codewitch7-Jun-24 5:10 
AnswerRe: I'm stumped! Pin
kmoorevs7-Jun-24 7:02
kmoorevs7-Jun-24 7:02 
AnswerRe: I'm stumped! Pin
jschell7-Jun-24 13:07
jschell7-Jun-24 13:07 
Sander Rossel wrote:
but my web app can't access the service ("no such host is known")...("no such host is known").


This is not a "service" problem.
It is a connectivity problem.

So you need to diagnose that and stop focusing on the service.

In the modern era you can and probably should always start with diagnosing connectivity using telnet.

Since all modern sites use IP/TCP telnet is an excellent tool to test that.

If you can connect via telnet then there is no connectivity issue. If not then there is. It is just that simple. Nothing else matters in that context. For example SSL/TLS has no impact on it.

Looks like you are also using a host name and not an IP address. You can use a DNS lookup tool like 'nslookup' to determine the IP.

DNS processing is a separate service which can fail all by itself. If you can verify the look up then after that you should use the IP only since it removes that extra service lookup (and failure possibility.) Again you use telnet with the IP to check.

Now if you verify that it is not a connectivity issue then you can look at the service. For example firewall rules can block specific http requests.

Also commenting on the thing about the hosts file and browsers. That was curious so I looked that up and found the following which doesn't make it all that clear what might be expected.

https://stackoverflow.com/questions/42636711/google-chrome-ignoring-hosts-file[^]

But what is clear is that using the IP makes al of that irrelevant.

As one other bit of advice when using the browser - do not leave any open browser windows when testing. So no other sites. Despite things like incognito it still caches stuff. So every single browser must be closed. Or at least that was true a few years ago.
GeneralRe: I'm stumped! Pin
jmaida7-Jun-24 16:05
jmaida7-Jun-24 16:05 
AnswerRe: I'm stumped! Pin
Jeremy Falcon9-Jun-24 20:03
professionalJeremy Falcon9-Jun-24 20:03 
GeneralRe: I'm stumped! Pin
Sander Rossel9-Jun-24 22:21
professionalSander Rossel9-Jun-24 22:21 
GeneralRe: I'm stumped! Pin
Jeremy Falcon10-Jun-24 8:35
professionalJeremy Falcon10-Jun-24 8:35 
AnswerRe: I'm stumped! Pin
Jeremy Falcon9-Jun-24 20:11
professionalJeremy Falcon9-Jun-24 20:11 
AnswerRe: I'm stumped! Pin
Stefan Schmiedl9-Jun-24 20:25
Stefan Schmiedl9-Jun-24 20:25 
AnswerRe: I'm stumped! Pin
Peter Adam9-Jun-24 22:20
professionalPeter Adam9-Jun-24 22:20 
AnswerRe: I'm stumped! Pin
MikeCO1010-Jun-24 1:18
MikeCO1010-Jun-24 1:18 
AnswerRe: I'm stumped! Pin
Mark Starr10-Jun-24 6:45
professionalMark Starr10-Jun-24 6:45 
GeneralWordle 1,084 Pin
OriginalGriff6-Jun-24 18:13
mveOriginalGriff6-Jun-24 18:13 
GeneralRe: Wordle 1,084 Pin
Shane01036-Jun-24 18:15
Shane01036-Jun-24 18:15 
GeneralRe: Wordle 1,084 Pin
GKP19926-Jun-24 18:40
professionalGKP19926-Jun-24 18:40 
GeneralRe: Wordle 1,084 - 5 4 me Pin
pkfox6-Jun-24 20:32
professionalpkfox6-Jun-24 20:32 
GeneralRe: Wordle 1,084 Pin
ChandraRam6-Jun-24 21:10
ChandraRam6-Jun-24 21:10 
GeneralRe: Wordle 1,084 Pin
Cp-Coder7-Jun-24 1:35
Cp-Coder7-Jun-24 1:35 
GeneralRe: Wordle 1,084 Pin
StarNamer@work7-Jun-24 3:23
professionalStarNamer@work7-Jun-24 3:23 
GeneralHow to duplicate Ubuntu OS? Pin
Salvatore Terress6-Jun-24 14:55
Salvatore Terress6-Jun-24 14:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.