Questions tagged as 'host'

1
answer

How to get the HostName from the client using C #?

I need to save in that machine the user performed a certain action, for that I was using the following excerpt: string maquina = Dns.GetHostName(); But I hardly knew that this would return the HostName of the server. How do I get the HostNa...
asked by 07.11.2017 / 18:36
1
answer

How to get the HOST IP through the domain in PYTHON?

In PHP, to get the ip of a given domain, I usually use the gethostbyname function. PHP example: gethostbyname('www.google.com'); //201.17.165.210 What about Python? How can I do this?     
asked by 20.07.2016 / 18:19
0
answers

Problem to host angular application

I'm a beginner with angular and I want to host a simple application on the host uol to study. The server is working but I can not redirect it to the home page of my application. Thecodeoftheserver.jsthatisrunningisthis: // Load the http...
asked by 19.11.2017 / 18:13
3
answers

How to differentiate device type from IP?

How do I know what kind of device is using an IP? I wonder if there is any way to validate whether an IP belongs to a computer, a mobile device, etc. This is to differentiate device types from IP. I'm interested in doing this in Java....
asked by 10.08.2016 / 13:46
2
answers

I can not work with uri (routes) using virtual hosts

I created a virtual host using apache, the problem is that I can access the site in my localhost as follows: site.com To access my site in localhost this way I did the following in the / etc / hosts file: 127.0.0.1 site.com And I made...
asked by 15.09.2017 / 04:46
1
answer

How to host a laravel site on windows server?

The computer where I want to host the site developed in laravel is in another network. I put the whole site on the server and ran the command php artisan serve --host MEUIP --port MEUPORTO When I test on another computer does the browser re...
asked by 19.08.2017 / 18:33
1
answer

How to dynamically insert a DNS in / etc / hosts through a bash script?

I have a bash runmydocker.sh script whose purpose is to retrieve the string sent by the user when he is calling that script and create a DNS in etc/hosts . Example: The user (developer) will call runmydocker.sh mysitephp7.com...
asked by 20.11.2017 / 21:55
2
answers

How do docker respond to a domain that does not exist in / etc / hosts?

In my hosts file I have only the following following domains: 127.0.0.1 localhost 127.0.0.1 abc.com When I run the image I use the following command: docker run -p 80:80 -v /Users/userName/Documents/siteABC:/var/www/html my_image...
asked by 17.11.2017 / 18:09
1
answer

ERROR Security.SecurityException - HOST Locaweb

Hello, I need help with the error below: My HOST is Locaweb, and I'm trying to run my ASP.NET MVC application but it gives Security.SecurityException error. All the references I found indicate to put <trust level="Full" />...
asked by 19.12.2016 / 11:37
0
answers

Unable to read transport connection data: A connection from the remote host was forced to terminate

I am trying to do a file reading in the "csv" style. After reading it I have to add it to the database, however I get the following error=" Unable to read transport connection data: A remote connection was forced to be terminated by the remote...
asked by 22.02.2018 / 19:49