|
I think at least some browsers (Chrome, I'm looking at you!) have their own DNS resolver. VPN adds another level of weirdness and anyway localhost is not a valid domain name. Are you trying to solve all the possible interactions between these parts or you just want your app to work? If it's the first one, I'd like to hear the result, maybe in an article or tip here. If it's the second, just add a line to your hosts file. It has the highest priority in the DNS resolving order[^] and it just works.
Mircea
|
|
|
|
|
I think your workplace might have some dodgy network group policies/filters.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 17hrs ago.
|
|
|
|
|
I'm suspicious of that too, especially with new AI network monitors/thwarters... But it would be super weird for them to muck with overriding the hosts file though?
|
|
|
|
|
I amended my comment to include group policies, which can do strange things to a machine.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
That's true... and which domain you are logging onto and whether you're "inhouse" or ingressing through a VPN or something could change which get applied. It could send you to different DNS servers (to help hide internal resources in domains that were more "edge"-closer to DMZ).
|
|
|
|
|
The only difference is a different Wi-Fi (shared with other tenants).
We don't have a work network, domain controller, etc.
|
|
|
|
|
Well I guess the good news is that simplifies the situation considerably.
The bad news is I have no idea what your next troubleshooting move should be.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
It's not the Azure network gateway is it? Last weekend working away from home and needed to rdc into an Azure VM meant that I had to add the IP address where I was connected to the inbound Accept rules in order to connect. Just a thought... Good luck!
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
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.
|
|
|
|
|
It's the devil's work.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 1,084 4/6*
β¬β¬π¨β¬π¨
π¨π¨β¬π¨β¬
π¨π©π¨π©π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,084 2/6
β¬β¬β¬π¨π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 1,084 4/6
β¬π¨β¬β¬π¨
β¬β¬π©π¨β¬
β¬π©π©π©β¬
π©π©π©π©π©
|
|
|
|
|
β¬β¬β¬π¨π¨
β¬β¬π¨β¬β¬
β¬β¬π¨π©π©
β¬π©π¨π©π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,084 4/6*
β¬π¨β¬β¬π¨
β¬π¨β¬π¨π¨
β¬π©π©β¬π¨
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,084 4/6
β¬π¨π¨π¨β¬
π©π¨π¨β¬β¬
π©π©β¬π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,084 3/6*
β¬β¬🟨🟨🟨
β¬🟨🟨🟨β¬
🟩🟩🟩🟩🟩
|
|
|
|
|
I hope this is not going to be called programming question, but I am running out of non AI forums to post this.( This forum Linux subforum is of no help - this is not programming issue )
I just had a total "no boot" failure of my grub file - working multi-operating system.
( Total power outage / failure caused this)
Ever since I started using Linux Ubuntu I have been unable to figure out HOW TO MAKE FULL DUPLICATE of perfectly working OS. ( Using "DD" command did not work!) I have several HD, space in no issue.
I was hoping use something likes RAID to do this. I am well aware of RAID issues, but I am desperate to have this resolved before another catastrophic failure.
PS
This time my working grub recovered because another , non used , but operational Ubuntu grub file was "updated/ upgraded".
|
|
|
|
|
I think the title of your post is hilarious because it sounds so much like when people ask (quite frequently,) "How to solve this problem?" and it's a question that would take pages and pages to answer.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Perhaps I am on wrong planet- I was under the impression this forum, in particular, was in existence to help solve problems. I guess I am wrong ... again.
But I do appreciate your post for staying on the subject and
you not telling me to RTFM or "get an new one ".
Hope somebody will take "the first baby step" to start the mentioned pages leading to solution.
PS
Just went thru few "fsck" to fully (?) recover from the grub failure...
|
|
|
|
|
|
|
There are many packages out there that can duplicate an entire partition or an entire disk. Many of them have a version that can be installed on a boot CD (or USB drive). OriginalGriff swears by AOMEI (runs on Windows, or from a Windows PE boot disk), but there are others.
AIUI, the grub is not part of any partition, so duplicating the partition is insufficient to recover the O/S. It is better to duplicate the entire disk, assuming that you have space available. As far as recovering the grub is concerned, I would assume that you start from a boot CD (or USB drive) containing the appropriate version of Ubuntu, but I'm unsure as to how to progress from there.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Relax blend in.
Veeam Agent is your friend. No matter what the OS.
4 letter word beginning with F: Free. (community).
Clonezilla is also good.
>64
Itβs weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
I understand that the OP intends to reload the backed up OS to the same machine. Then a backup might work, as long as the hardware is completely unchanged.
Usually, the binary OS running on a machine is closely tailored to the hardware, e.g. the selection of drivers. It doesn't carry drivers it doesn't need. Say that a lightening hit your internet line (presumably a metallic one, not a fiber); the high voltage made it all the way to your network interface and blew it. So you replace the broken interface with a new one, of a different model. Your OS doesn't have a driver for it, preventing you from retrieving the correct driver from internet.
Or if the lightening spike went through your power supply and hit your disk, and you replace it with a newer model, requiring a different driver. The OS lacks the driver to boot itself from the disk, even if the complete OS (but with the old disk driver) is available.
Fortunately, hardware interfaces have become much more standardized today than 20 years ago. E.g. no USB memory stick requires any special driver. Yet our PCs run numerous hardware dependent drivers. Even though your PC may boot, some essential equipment may fail to operate with the backup OS.
Years ago, after buying a new mainboard for my PC (transferring a lot of stuff from the old one - this was in the days when you had plug-in cards for everything), I tried to take a shortcut, loading the total backup I had made before throwing out the old mainboard. It "sort of" booted, but lots of stuff didn't work (even though it was unchanged; it probably had been assigned other interrupts something of that kind), and the OS bluescreened several times before I gave up and went through a complete OS installation from scratch.
There are also those software packages (OS or other) that reads some machine identification, such as a CPU ID or a hash of the IDs of peripheral IDs, and refuse to run if you try to install the backup on another CPU or configuration. A couple of Windows versions did this. If you added another hard disk to your PC, you had to call Microsoft service to receive another activation code for the new configuration. This was so annoying that it was first loosened a lot, then removed completely.
I don't expect anything of that kind with Linux, though. But even if the OS core is free, there is a lot of commercial software running on Linux, and the vendors may use such mechanisms to prevent unauthorized use of their software.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|