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
36
votes
2 answers

ASP.NET vNext is "host agnostic", what does it mean?

According to ASP.NET vNext tutorial: vNext is host agnostic. You can host your app in IIS, or self-host in a custom process. How can I understand this in depth with showing the difference between current asp.net host and new one?
Amr Badawy
  • 7,453
  • 12
  • 49
  • 84
35
votes
5 answers

Unix command "host" - is there Windows equivalent?

I am on a Windows 7 machine and I was instructed to use the Unix command "host" as per this article: https://devcenter.heroku.com/articles/custom-domains however, host is not a valid command with Windows and even with bash on Windows I could find…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
34
votes
4 answers

How to access site through IP address when website is on a shared host?

I want to edit my host file to forward a website to another IP, but that IP is on a shared host, so the IP doesn't take me to the domain I want. Is there a way around this? i.e. Website: http://somerandomservice.com/ Ping the site and go to:…
Andrew Tsay
  • 1,893
  • 6
  • 23
  • 35
32
votes
4 answers

How to host an HTML file with ngrok?

Is it possible to host, instead of a web app, a HTML file with NGROK? I really don't know anything about NGROK, I just used it to host a server for a Twilio app, and am wanting to use it to host a HTML file for another one of my projects. Also,…
user3473819
  • 455
  • 1
  • 4
  • 8
30
votes
4 answers

Parts of a URL: host, port, path

Here is the URL: https://landfill.bugzilla.org/bugzilla-tip/ In my code I have this: Server server = new Server(host, port, path); From the URL, what is host, what is port and what is path? What are the input values of the method?
petko_stankoski
  • 10,459
  • 41
  • 127
  • 231
30
votes
5 answers

AWS: Dedicated Host VS Dedicated Instance, why the first is more expensive than the later?

I'm studying for my Associate Architect exam at AWS, and I can't find an explanation for this question. Why Dedicated Host are more expensive than Dedicated Instances? I understand the main differences between the two, it is just that in my brain it…
Perimosh
  • 2,304
  • 3
  • 20
  • 38
29
votes
2 answers

Rails: how to get the current host, or build a URL with it?

I need to use the host to build a URL with a different port. For example, if the host is example.com, I need to generate a URL like http://example.com:8080/ I need it to be portable, so when I'm in my local enviroment it shows http://localhost:8080/…
HappyDeveloper
  • 12,480
  • 22
  • 82
  • 117
29
votes
3 answers

Copying a struct containing pointers to CUDA device

I'm working on a project where I need my CUDA device to make computations on a struct containing pointers. typedef struct StructA { int* arr; } StructA; When I allocate memory for the struct and then copy it to the device, it will only copy the…
Thorkil Holm-Jacobsen
  • 7,287
  • 5
  • 30
  • 43
27
votes
9 answers

(Flutter) HTTPClient Invalid argument(s): No host specified in URI

Currently working on a little app that allows users to view a database stored on Heroku, however I am running into the aforementioned issue when using the database's URL: ".herokuapp.com/api/". var client = createHttpClient(); var response = await…
Oscar Cooke-Abbott
  • 463
  • 1
  • 6
  • 13
27
votes
9 answers

Host Key Verification Failed

I'm trying to ssh into my UBUNTU through my PC with Cygwin on it. I can WINSCP without a hitch, however when I ssh through a command line it comes up with this error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE…
user1985351
  • 4,589
  • 6
  • 22
  • 25
24
votes
4 answers

Android USB host and hidden devices

I am developing an Android application in which I have to communicate to an USB device. I tried to use standart google API in my app, but list of devices is allways empty. Same things if i use USB device info with google api. List of devices…
Alexey.Shilenkov
  • 243
  • 1
  • 4
  • 7
23
votes
3 answers

How to ignore or Pass 'Yes' when The authenticity of host can't be established in Expect Shell script during Automation

I want to Provide 'Yes' automatically or Ignore it and proceed in a SECURE way, when the below statement comes during execution of my Expect Shell script?. #!/usr/bin/expect spawn ssh $user@$host The authenticity of host 'abcdef (10.566.1.98)'…
ShAn PrIyAn
  • 235
  • 1
  • 2
  • 4
23
votes
6 answers

What are the valid characters that can show up in a URL host?

I'm writing some code that processes URLs, and I want to make sure i'm not leaving some strange case out... Are there any valid characters for a host other than: A-Z, 0-9, "-" and "."? (This includes anything that can be in subdomains, etc.…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
21
votes
2 answers

Does Request.Url.Host include the subdomain?

e.g. for mail.google.com would it return google.com or mail.google.com? I can't actually test it myself
Adam Lynch
  • 3,341
  • 5
  • 36
  • 66
21
votes
4 answers

Connect to postgresql container from another container (Docker)

I have am trying to follow this tutorial and set up a postgresql container. I have the following script: #!/bin/bash # wait-for-postgres.sh set -e host="$1" shift cmd="$@" until psql -h "$host" -U "postgres" -c '\l'; do >&2 echo "Postgres is…
Otis Wright
  • 1,980
  • 8
  • 31
  • 53