Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-9 votes
1 answer
86 views

I’m using Local (by Flywheel) to develop a WordPress site. When I click "Open Site", it opens the link http://localhost:10005/, even though my site is named MySite, and I want it to open as http://...
0 votes
1 answer
290 views

I'm trying to resolve a hostname to an IP address using the /etc/hosts file only. That is, if the name cannot be locally resolved, it must fail (ie. no DNS request sent out). The standard way to ...
0 votes
1 answer
128 views

I have a Windows 11 machine that I use run the Docker Engine. One of my docker containers is an Apache-container with PHP. I want to run multiple websites in this container. In order to tell Apache ...
Pianoman's user avatar
  • 413
0 votes
2 answers
103 views

I need a cmd scritp to add multiple lines to hosts file from a txt file. I've found in this post a script by Tony @echo off TITLE Modifying your HOSTS file ECHO. :: BatchGotAdmin :--------------------...
1 vote
1 answer
732 views

I need to configure hosts file in emulator with sdk 30 or higher. To do this I follow next steps from my command line: emulator -avd Pixel_4a_API_34 -writable-system //run emulator adb root // ...
1 vote
0 answers
189 views

I want to edit the hosts file with a script that will run from the Windows Task Scheduler, but even granting elevated permissions to this script, when it tries to edit the hosts file, access is denied ...
0 votes
0 answers
212 views

I have a hosts file that looks like this: [test] 10.1.1.1 ansible_user=my_username When I try to run an ansible playbook, which calls this test group as hosts: - hosts: test gather_facts: no ...
bowoow's user avatar
  • 1
2 votes
4 answers
8k views

Let's say I have a Next.js Application. Which is working properly. The application is currently accessible through http://localhost:4000 or http://somehostname.local:4000 here, I have set 127.0.0.1 ...
-1 votes
1 answer
479 views

Any changes to the /etc/hosts is ineffective when connected to WIFI, When I disconnect it starts taking effect. I have tried sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder already
moh.s's user avatar
  • 39
0 votes
0 answers
327 views

See here, or man gethostbyname. It seems to work as expected when run on a simple C program that calls gethostbyname, which I had ChatGPT write, and which includes: hints.ai_family = AF_UNSPEC; //...
1 vote
1 answer
312 views

I have solved this, but I still don't know why. I have a Spring Boot server when I set "server.address=localhost", the server cannot connect any more from Node.js fetch API. But using web ...
jacob's user avatar
  • 1,206
1 vote
0 answers
815 views

I am creating a simple light/dark mode toggle in a create-react-app, with the following code in my <App /> component: const [darkMode, setDarkMode] = useState<boolean>(() => { ...
0 votes
0 answers
17 views

I am runnig Keycloak on a container with the default image of keycloak. I am trying to add a host to the /etc/hosts file but it is imposible. I want to change the localhost DN to ldap.demo.local I ...
1 vote
0 answers
78 views

I'm trying to modify the hosts file in Java Android to dynamically add new hosts. Is there any way to do this ? I tried to follow chatgpt response but it doesn't work
0 votes
0 answers
38 views

My hosts file was working fine when I use a normal ansible password. But when I switched it to ansible vault password, I get these errors: [WARNING]: * Failed to parse /var/lib/awx/projects/Windows/...

15 30 50 per page
1
2 3 4 5
...
56

AltStyle によって変換されたページ (->オリジナル) /