Connect to a remote host from terminal works but not from deployment - server

I was trying to connect to a remote server from the terminal (PyCharm IDE in Mac), and it works.
I tried to connect to the same remote host from Deployment to see the files on the server, and I am getting the error
"host not found"
connecting from tools->deployment->brows remote host error

Related

Memcached: cannot connect to server with libmemcached but telnet works

I have a program that is using libmemcached client in c. When working with localhost (server on same machine than client) everything works fine. When trying to run the server and client on different machines, the client cannot connect to it. I get the error message: "SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY".
However, when connecting through telnet (telnet ip port) the client machine can connect to the server (even when they are not the same machine). Both machines are on the same network so I am using interface eth0. Pinging works fine.

MongoDB Remote Access HostNotFound

I am trying to remotely access a MongoDB database that I set up on a Windows machine. I have gone into the mongod.cfg file and changed the bind_Ip setting to 0.0.0.0 which should allow for any other machine to access the database.
However, I still can't remotely access the database from my laptop. I'm using the host name that I get when I use the command getHostName() on the machine where the database is running. When I try to connect I get the error "connection attempt failed: HostNotFound: Could not find address for ....: SocketException: Host not found (authoritative): ". What am I doing wrong here? Is it an issue with firewalls and if so how do I change that on a Windows machine?

Unable to Connect to Postgres Server Remotely

I set up a Postgres server on my computer (windows) at home just to run some basic work when I am away from home, but I am unable to connect to it outside of my home network. I have setup my pg_hba.conf file to accept connections from my laptop and I have set listen_addresses to '*'. It works perfectly fine if my laptop is on the same network as my home computer, but if I go to any other network it fails to even recognize the connection.
Returns the following in pgAdmin4: could not connect to server: Connection timed out.
Any ideas?

Copy file or directory from remote server

I try to copy file from remote server to my local machin but it gives following error
ssh: connect to host 103.241.144.137 port 22: Connection refused.
command : scp root#111.111.111:/home/msecondo/public_html/jsp/afterLogin/sachin/PHR/ /localpth/.
"Connection refused" means that there was no process accepting connections at the IP address and port that your client tried to connect to. In this case, it probably means that there is no SSH server running at 103.241.144.137 port 22. Alternately, if the SSH server is running, it may not be listening on the IP address or port that you tried to connect to.
StackOverflow isn't the right site for troubleshooting SSH server configuration. If you have administrator privileges on the remote server, then you should look into how the SSH server is configured and whether it's running. If you're not an administrator on the remote server, you should report this to the administrators so that it can be investigated.

phing FtpDeploy "connection to host failed"

I'm getting the following error when trying to deploy a ZIP file to a remote FTP server. I tried connecting to the server using an FTP client (filezilla) and all goes well.
Also, when connecting to a public ftp like ftp.belnet.be connections work fine.
I'm trying to send the file to a VSFTPD server behind a router using port forwarding. Again, this works fine from any location using Filezilla, phing is not connecting though...
BUILD FAILED
/deployment/build.xml:60:12: Could not connect to FTP server x.x.x.x on port 21: Connection to host failed
Total time: 2 minutes 30.09 seconds
this was a firewall issue that has been resolved.