Questions tagged [host]

A general-purpose computer system interconnected to some communications network, or communications networks for the purpose of achieving resource sharing amongst the participating systems is called Host.

A general-purpose computer system interconnected to some communications network, or communications networks for the purpose of achieving resource sharing amongst the participating systems is called Host.

This term is used in a number of Request for Comments (RFC) documents like RFC 871.

1857 questions
21
votes
3 answers

UnknownHostException: name or service not known

I'm attempting to return some data from an API using OkHttpClient in com.squareup.okhttp. I've run into a few errors that i have eventually been able to overcome but i can't get past this host exception error and nothing on here seems to be specific…
Jordan Macey-Smith
  • 321
  • 1
  • 2
  • 6
21
votes
2 answers

Set up custom subdomain for Jekyll Blog hosted in Github Pages

I created a Jekyll-powered blog and am hosting it with GitHub Pages. Now, I want to set up a subdomain (blog.example.com), but can't make it work. I have added a CNAME file with the text: blog.example.com. And I have added two A records in my…
alejorivera
  • 935
  • 1
  • 10
  • 25
20
votes
3 answers

rspec route testing and hosts

I see I can test routes with rspec like this: get("/").should route_to("welcome#index") but I have constraints based on the hostname or parts of hostnames and redirects between several ones. How do I specify a hostname when testing? How do I run…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
20
votes
4 answers

Nuxtjs: Expose localhost to external doesn't work

I try to connect my mobile to my local nuxtjs project. I thought it would be easy as described there. https://nuxtjs.org/faq/host-port/ but nothing works. I have also installed cross-env but didn't solved my problem. If I start npm run dev on my…
Gregor Voinov
  • 2,203
  • 7
  • 34
  • 52
20
votes
5 answers

Hosting CLR in Delphi with/without JCL - example

Can somebody please post here an example how to host CLR in Delphi? I have read similar question here but I cannot use JCL as I want to host it in Delphi 5. Thank you. EDIT: This article about hosting CLR in Fox Pro looks promising but I don't know…
Lukas Cenovsky
  • 5,476
  • 2
  • 31
  • 39
20
votes
3 answers

USB Host Mode - device access permission granted but not remembered

I have a USB Host Mode application that works perfectly. I plug in the device, Android pops up the Allow the app APPNAME to access the USB device? permission request window, I check the Use by default for this USB device tick box and tap OK, then…
kbro
  • 4,754
  • 7
  • 29
  • 40
19
votes
1 answer

Docker Mac alternative to --net=host

According to the docker documentation here https://docs.docker.com/network/host/ The host networking driver only works on Linux hosts, and is not supported on Docker for Mac, Docker for Windows, or Docker EE for Windows Server. On Mac what…
Shane Gannon
  • 6,770
  • 7
  • 41
  • 64
19
votes
6 answers

run node.js webbapp on 80 port on windows

I need to make my local node.js webapp listen 80 port. Now if run my app on port 80 I get this erro events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EACCES at errnoException (net.js:901:11) at…
silent_coder
  • 6,222
  • 14
  • 47
  • 91
16
votes
3 answers

Django - How to simply get domain name?

Firstly, I want to say that I'm a beginner in Django. I'm looking for a simple way to retrieve the domain name of my Django website. I want to do this in my settings.py. I've already tried with the socket something like this:…
Maître Van Diest
  • 215
  • 1
  • 3
  • 11
16
votes
5 answers

List of devices support HCE?

As more and more devices have KitKat, I'm trying to compile a list of devices support HCE. Does anyone have the list? Feel free to add comments to contribute to this list. Below is what I have so far: Notes: Not all KitKat devices support HCE. To…
Trung
  • 1,655
  • 2
  • 18
  • 26
15
votes
3 answers

Can I deploy my ReactJS app on a regular host?

I've seen many guides where people teach you how to deploy your react app on services like digital ocean, heroku, GitHub Pages, aws. But I'm wondering if I can deploy my React app (create-react-app) which consists of only front end in a host service…
Julio
  • 407
  • 1
  • 4
  • 14
15
votes
5 answers

Get the current url but without the http:// part bookmarklet!

Guys I have a question, hoping you can help me out with this one. I have a bookmarklet; javascript:q=(document.location.href);void(open('http://other.example.com/search.php?search='+location.href,'_self…
Bostjan
  • 151
  • 1
  • 1
  • 3
14
votes
2 answers

How many scheme & host tags can come under intent-filter in android manifest

Need more info regarding intent-filter tag specified in manifest. I am aware that we can specify data in two forms: AND :
AndroidGuy
  • 1,270
  • 4
  • 15
  • 32
13
votes
4 answers

Using 3.1's USB host mode with Arduino

Is there a good tutorial for using an Arduino with an Android where the Android device is the USB host? (The Android device has OS version 3.1 (Honeycomb) or later). The only host program on the developer site is the missile launcher, which seems…
Joe
  • 131
  • 1
  • 3
13
votes
0 answers

running network mode “host” on windows 10 with wsl2 and docker

Is there a way to use network mode "host" in the docker container run inside wsl2 using docker desktop? I tried to deploy a docker container inside wsl2 with network mode "host" but I could not access this port inside windows. I knew that this was a…
user8912375
  • 412
  • 1
  • 4
  • 12