Most voted "host" questions
22 questions
Sort by count of
-
4
votes1
answer1665
viewsHow to get the HOST IP through the PYTHON domain?
In PHP, to get the ip of a given domain, I usually use the function gethostbyname. PHP example: gethostbyname('www.google.com'); //201.17.165.210 And in Python? How can I do this?…
-
4
votes1
answer532
viewsHow to get the hostname of the client using c#?
I need to save in which machine the user performed certain action, for this I was using the following excerpt: string maquina = Dns.GetHostName(); However, little did I know that this returns me the…
-
2
votes0
answers1878
viewsConfigure Laravel Virtual Host in Ubuntu
When I access a project that does not use Lockable, it works normal, but when some access uses, does not load anything and shows an empty screen. Its configuration has to be different from the…
-
2
votes0
answers239
viewsProblem to host angular application
I’m a beginner with angular and I’m looking to host a simple application on the Uol host to study. the server is working but I can’t redirect to my application homepage. The code of the.js server…
-
1
votes2
answers240
viewsIdentify database server (approval and production) in two different environments
As in most cases, I have two environments: approval and production, both for the server and for the database. I would like to know how to use the same address (host) of the database in the…
-
1
votes3
answers1389
viewsHow to differentiate device type from IP?
How to know what type 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…
-
1
votes1
answer1968
viewsHow to host a Windows server?
The computer where I want to host the site developed in Alavel is in another network. I put the whole site in the server and I turned the command php artisan serve --host MEUIP --port MEUPORTO When…
-
1
votes2
answers161
viewsI can’t work with Uri(routes) using virtual hosts
I created a virtual host using apache, the problem is that I can access the site on my "localhost" as follows: site.com To access my site on localhost in this way I did the following in the file…
-
1
votes2
answers423
viewsHow do D-Ocker respond to a domain that does not exist in /etc/hosts?
In my hosts file I have only the following domains: 127.0.0.1 localhost 127.0.0.1 abc.com When I will rotate the image I use the following command: docker run -p 80:80 -v…
-
1
votes1
answer3116
viewsERROR 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 error of Security.SecurityException. All the references I found indicate to…
-
1
votes1
answer103
viewsHow to dynamically insert a DNS into /etc/hosts via a bash script?
I have a bash script runmydocker.sh whose goal is to retrieve the string sent by the user at the time he is calling this script and create a DNS on etc/hosts. Example: The user (developer) will call…
-
1
votes0
answers300
viewsError creating virtual host in Apache 2
When I try to create a virtual host in apache I can’t access it I’ve followed the following procedure: Go to the C:\Windows\System32\drivers\etc\hosts and put the 127.1.0.1 meusite.dev Go to the…
-
1
votes0
answers3157
viewsUnable to read transport connection data: Forced cancellation of an existing connection by remote host
I am trying to make a file read in "csv" style. After reading I have to add it to the bank, however I get the following error = "Unable to read transport connection data: Forced cancellation of an…
-
0
votes1
answer28
viewsOld directory still remains
I took a project made in CakePHP from an old server and played on a new one, but the old server path seems to remain in the script. I played all the files in the new and when I enter the URL, it…
-
0
votes0
answers46
viewsWordpress does not find Mysql Host
I’m trying to run Worpress locally on MAC, this to work the site and after ready to go up to the server. Mysql is installed on the MAC on /usr/local/mysql-5.7.17-macos10.12-x86_64/ is accessed via…
-
0
votes0
answers156
viewsMysqltuner Help with analysis
I have no knowledge in mysql, and it was very difficult to understand the diagnosis of Tuner. My problem is that when the site gets too many visits, the connection to the bank drops. I’m using a…
-
0
votes1
answer73
viewsHow to use open cv with nodejs in production environment
I have an application developed in nodejs in which I use the opencv4nodejs which allows you to use the opencv library in nodejs. The application is ready on local server, but I have no idea how to…
-
0
votes0
answers28
viewsLocal server does not open on external network
I took a domain in freenom and pointed it at my computer, but the site only opens when I am on my own network, the error is "ERR_CONNECTION_TIMED_OUT". I tried to configure my modem to point the…
-
0
votes1
answer46
viewsHow to use several sites in Ubuntu Dedicated Server?
Hello, my friends! Context: I have a dedicated server to host web applications. The root directory of it is default/var/www/html of any server. I want to host, first, a website. In the root folder…
-
0
votes1
answer174
viewsConnection undoing while running php socket script
I am setting up a socket server in php, a simple chat. When I send a message or close a page, the following error appears: "Warning: socket_recv() Unable to read from socket[10053] An established…
-
-1
votes1
answer1389
viewswamp error via network
Good night. I installed a web system on a machine where I have installed Wamp 3.1.0, but when I try to access it through another machine connected to the same network I come across the following…
-
-1
votes1
answer198
viewsHow to prevent and remedy when a web server crashes?
I’d like the experience of you. I currently use a server that is very unstable. For many times its FTP drops, and this week the server was out for 2 days. The problem is that we don’t know when a…