Perforce "Connect to server failed" when connecting to xxxxx.dyndns.org, but it works via 192.168.1.75 - osx-mavericks

So I've had a Perforce server running on my MacPro for several years. It is set to register itself as xxxxx.dyndns.org, so other users can connect from off my LAN.
Suddenly, today, I can no longer connect via xxxxx.dyndns.org:1666. I get an error:
Connect to server failed; check $P4PORT.
TCP connect to xxxxx.dyndns.org:1666 failed.
connect: some.ip.address.:1666: Connection refused
If I go to a bash shell and do ping xxxxx.dyndns.org, it comes up with some.ip.address and says it pings fine.
So if I can connect via the LAN IP address, and can ping the computer with the dyndns.org address, and the router is set to forward 1666 to the computer hosting the P4 server, what else could be wrong?

Got this answered. Note the use of dyndns.org up there. Their free services have been turned off. I rewired it to use duckdns.org and now it's working fine.

Related

Connect to Firebird database on Windows instance via CentOS

I have the task to establish a connection to a Firebird database that is located on a Windows instance. What I was able to accomplish so far was to establish a connection via PHP PDO on my local machine and query the databases.
However, I run into dead ends when I try to connect to the Firebird database that isn't on my PC locally. The database is located on a Windows remote server. The provider opened a port for that gets then redirected to port the Firebird database should be listening to as well (5143 was on my local machine and provider said it was the same on their end. So we try to connect over serveraddress:port and get forwarded to the corresponding port then).
First issue was to get Firebird working in CentOS but I got that down.
Connecting to the specified port I get the error "SQLSTATE[HY000] [335544421] connection rejected by remote interface", any other, not open port, returns correctly "connection refused".
Is it even possible to connect to a Windows remote server? Am I even "connected" / trying to connect to the Firebird database there and it gets declined then?
I read a lot about the rejected by remote interface error but nothing really pops into my mind what it can be.
I tried various setups, tried different ports, we logged on over TeamViewer and set up an ODBC connection locally on the remote desktop which succeeded. Both connections over the 32-bit and the 64-bit ODBC worked. We checked the Firebird versions and they were identical. We even tried to connect from a Windows notebook to the Windows remote.
I basically just want to establish a connection over PHP PDO.

What is the cause of this problem "IO Error: The Network Adapter could not establish the connection" on Sql Developer?

I make a connection for connect to the Database Server (other machine).
Then I found "An error was encountered performing the requested operation:
IO Error: The Network Adapter could not establish the connection
Vendor code 17002".
Please look the picture in URL below.
I tried to make a connection but can't access but my team can access it.
My friend used TNS connection type and I did everthing similar him but can't access. I tried to use JDBC thin for connect but can't also.
I had the old connection which I can connect but why I can't connect the new connection.
You're trying to connect to a machine on a network that SQL Developer is unable to reach.
For a TNS connection,
Look at the appropriate TNSNames entry (you will have a tnsnames.ora) file, and find the IP address or network name associated with the connection you're trying to establish -
And then start by trying to ping that resource.
In this case, i'm trying to talk to a database on MY machine, on port 1521. Yours should look quite different.
If you're using a basic connection, then you can look at the connection properties and see what machine/port you're trying to communicate with.
Ping
If you can't reach that machine from your machine, there's zero chance you can connect to a database there.
So, always start with a ping.
Once you see that you can get to that machine, if you're still getting that message, the next thing to think about is blocked ports, the listener defaults to port 1521, but you'll see that in the TNS descriptor as well.
It usually happens when a another process is running on the same port or there is an absence of listener.
Go to Run>services.msc>OracleXETNSListener>Start
Try to reconnect.. Even if the error still prevail then go to cmd
Use code:
npx kill-port <portnumber>
The port number by default is 1521, but you can check the port number in database properties.
It is possible, that your connection is forbidden by the firewall -
go to Control Panel\System and Security\Windows Defender Firewall - Advanced - Outbound Rules - Add a rule. (If you have some antivirus firewall, add rules there)
Create a temporary TCP rule for your port and another rule for UDP. Allow all nets and comps.
Check the telnet connection as cmd -> telnet ->
open remote.host.address PortNumber
If you can connect now, then the problem IS in firewall - edit your new rules, setting the hosts and nets exactly.
This error is because your sqldeveloper is not able to reach the database server's sql service.
One reason could be lsnrctl is down for some reason.
If you have access to machine where database is installed.
In Windows machine, follow: https://www.youtube.com/watch?v=r9pHqOfV2f0&ab_channel=TLinaTutorials
In Linux/macOS machine: Go to $ORACLE_HOME/bin and check status of lsnrctl
execute from $ORACLE_HOME/bin lsnrctl status, if it's down. Then restart it by lsnrctl start.
Check the details of connection in command output like SID, PORT, HOST etc. and try connecting again from sqldeveloper.

Unable to connect to WCF server port

I created a WCF service and deployed it to my production environment (Windows 2008). The client (also Windows 2008) cannot connect to the server port. I have stopped the Windows Firewall service on the server, and I can see the port listening when I use netstat from command line on the server. I am fairly sure that it is a problem related to the port because I can ping the server, but when I tried to do telnet serverIP port, I got an error. The client machine can connect to other machines on the network (e.g. DB server) so it does not seem to be a problem on the client side. Any ideas on what else could cause the port to be blocked?
Thanks

FTP server on VPS

I am trying to connect to FileZilla ftp server on my VPS. I have installed it. Added a user. Added exception to Windows Firewall for FileZillaServer.exe; Configured FileZilla to use Passive mode and entered my IP of VPS server. Then I have started the server on VPS.
But I still can not connect to FileZilla from outside. It sais:
Error: Connection timed out
Error: Could not connect to server
P.S. if I`m connecting to server locally, ir works.
Any ideas what is going on?
Thanks a lot.
Well, I will answer it myself :)
I could not start Filezilla server for some reason, but I was able to start IIS FTP server.
All you need to do is to go to IIS Manager and add FTP site. Add user and that`s it.

Can't connect on Win7 via PuTTY

Trying to connect to my VDS from Windows 7 machine.
From server side everything seems to be Ok, but I constantly get 'Network Error. Connection refused'.
It seems to me that either port 22 or PuTTY on local machine is blocked by our corporate network firewall.
What can I do now to resolve the problem?
I certainly will be able to change default port for SSH daemon.
The password to log in to the VDS may have expired. Try resetting it.

Resources