Questions tagged [remote-host]

46 questions
40
votes
10 answers

Exception in monitor thread while connecting to server localhost:27017 while accessing MongoDB with Java

I have the following exception when running Java app for MongoDB: [localhost:27017] org.mongodb.driver.cluster : Exception in monitor thread while connecting to server localhost:27017 while accessing MongoDB with Java Call stack is…
Dims
  • 47,675
  • 117
  • 331
  • 600
31
votes
3 answers

Bring back closed Remote Host Window on PHPStorm

I accidentally closed () the remote host window in a project of PHPStorm and i can't get it back. It isnt in View->Tool Windows. And is also enabled in Plugin Settings Page
Alex Bogias
  • 1,826
  • 2
  • 30
  • 45
9
votes
10 answers

Intellij: Setting Remote host Mappings: Local path is out of project

I am using Intellij IDea ultimate 15. I want to compile/test/deploy on a remote host. So this is what I did: 1. File -> New -> Project -> Empty Project -> Specify project name/location Preferences -> Deployment -> add host(Test SFTP connection…
user2636208
  • 101
  • 1
  • 4
7
votes
3 answers

Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host in C#

I have a code where I am sending the URL request and receiving the response and storing it as a String as public String GenerateXML(String q)// Here 'q' is the URL { // Generating the XML file for reference // Getting the response in XML…
user3188390
  • 603
  • 2
  • 11
  • 19
7
votes
1 answer

Http Request fails from ASP.NET code on Test server (also fails from IE... but not firefox!?)

I'm making HttpRequests to an external server from my ASP.NET application, to a URL like e.g.: https://1.2.3.4:12345/Data/Users?Id=1 The server is running a service that responds to these requests with xml (like a web service). My code makes a GET…
MGOwen
  • 6,562
  • 13
  • 58
  • 67
5
votes
2 answers

How can I establish a secure channel for SSL/TLS from a handheld device?

I am trying to call a REST method from a handheld device (Windows CE / Compact framework) with this code: public static HttpWebRequest SendHTTPRequestNoCredentials(string uri, HttpMethods method, string data, string contentType) { …
4
votes
3 answers

NodeJS - ERR_INVALID_ARG_TYPE Error thrown while issuing a HTTP request to remote host

Recently, I encountered a problem while trying to issue a request using NodeJS and request-promise. The following code is nested inside a multer call for file uploading (using nested functions / clusters. const options = { method:…
4
votes
1 answer

Search in all project files on remote host in PhpStorm

I have lots of files in a project on a remote host and I want to find out from which file another php file is called. Is it possible to use Ctrl+Shift+f search on a remote host project?
qazerty23
  • 411
  • 2
  • 6
  • 16
2
votes
3 answers

How to update your exe from remote host - c# 4.0 - wpf application

I want to update my exe from remote server. So when the button clicked on my wpf application it will download the remote and also a remote txt file and replace the current ones in the same folder that exe running. So it will overwrite the current…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
2
votes
1 answer

Command not found.when executing bash on remote host

Why I cannot execute command on remote host. Do I miss something? Bash file: hello.sh #!/bin/sh host_name="myHost" ssh $host_name ' STR="Hello World!" echo $STR ' executing above file: the print out: > ./print_node_status.sh Enter Windows…
user3687374
  • 45
  • 1
  • 6
1
vote
0 answers

Changing remote_host field in Logstash AccessEvent Fields to reflect X-Forward-For header - Spring Boot

We are logging client access using Logtash, all logs are logging the load balancer I.P. I was wondering if there is a way to configure logging client I.P's in the Logtash pattern using the "X-Forwarded-For HTTP header"? Best scenario would be…
1
vote
1 answer

The problem of printing characters to the right in a for loop with the ncurse library

I use Xshell to connect to a remote host and write ncurse programs. But it was found that the characters could not be printed in a cycle to the right. #include int main() { initscr(); for (int i = 0;i < 10; i++){ …
shubulan
  • 7
  • 3
1
vote
1 answer

Cant access and execute a script on remote node using Ansible Tower

I have a similar problem but my error message says: { "changed": false, "msg": "Could not find or access 'woshutdown.sh' Searched in:…
1
vote
1 answer

PHP Login by hostname. Is this safe enough?

I authenticate users by their hostname for some internal sites. I do this by: if( gethostbyaddr($_SERVER['REMOTE_ADDR']) == .... ) { ... But im not sure if it is safe to login users this way. Is there a chance to improve the security of this…
C. Hediger
  • 434
  • 7
  • 22
1
vote
2 answers

Tomcat 8 RemoteHostValve not working

The access to my server should be limited to some Remote hosts, and I want to allow Uptimerobot to monitor my server. Currently uptimerobot gets always a 403 Forbidden. I added Server.xml looks like this:
Radon8472
  • 4,285
  • 1
  • 33
  • 41
1
2 3 4