|
When you say you cannot ping it, do you mean you get no response or you get no name resolution?
Try powershells from the machines where the app is running if you can...
Test-NetConnect <ip or fqdn> -p <port> ... I may be off on some of that syntax.
|
|
|
|
|
From comments at top of hosts file:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
If I add a line to hosts file:
127.0.0.2 sub.localhost
then I can do:
>ping sub.localhost
Pinging sub.localhost [127.0.0.2] with 32 bytes of data:
Reply from 127.0.0.2: bytes=32 time<1ms TTL=128
Mircea
|
|
|
|
|
I've thought about the hosts file, but that won't explain why it works in my browser, but I can't ping it and why it works at home, but not at the office and that my coworker has a varying mileage.
It doesn't work in Azure either, which is even weirder, since all subdomains are registered in a DNS within a "proper" domain.
|
|
|
|
|
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 8hrs 20mins 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"
|
|
|
|
|
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.
|
|
|
|