access via IP not host
See original GitHub issueHi, the docker-compose example need to access via host name:
$ docker-compose up
$ curl -H "Host: whoami.local" localhost
I'm 5b129ab83266
Is there anyway to configure so that I can access directly via IP, without specifying HOST?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Can only access server via IP address, not hostname - TechNet
I have a server running on a raspberry pi than can be accessed with a win 10 system browser (Chrome or Edge) via...
Read more >Can access shared network files by IP, but not by host name
open Network and Sharing Center and select Change advanced sharing settings. Turn on network discovery and Save changes. And also try changing ...
Read more >Can connect via IP but not Hostname - QB Nightmare
Solution: Put the IP and Hostname in the hosts file is a quick and dirty fix.
Read more >Why can I communicate using IP address but not DNS name?
Right click on "My Network Places" and hit Properties. This will pull up the Network Connections window. Older OS's have a bit of...
Read more >HIME - 25. Can Access computers by IP addresses, but not by ...
On my local network, I can type the ip address like so: \\xxx.xxx.xxx.xxx of a computer and access the shared files/printers of that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@smcpeck This is what I am looking to do too. Currently running on a digital ocean droplet and don’t want/need to register a domain name for this so I would like to be able to access this without a host header. I’m not a devops person (bear with me)–is it bad to assume my DO ip won’t change?
Asked another way… How would I get
server_name _;
to point to my server running on the exposed port.try
VIRTUAL_HOST=your_ip