I really tried to fix this by myself in the past 3 days but I run out of ideas.
The thing is that when I was testing the application on azure I didn't have any issues.
I already had a windows server VM, where I installed WAMP to test out the PHP app.
Everything was fine and working till I migrated the app to another hosting provider where I think they run Red Hat on the VM.
All ports are open for the IMAP and the PHP IMAP extension is enabled.
The thing is that I'm getting an error message when I try to connect to Server
name: outlook.office365.com
Port: 993
Encryption method: TLS/SSL (I tried both, but on the previous server was TLS)
Can't connect to FRA-efz.ms-acdc.office.com,993: Connection refused
Do you have any idea why this is happening?
Thank you in advance!
Related
I have an iOS app that's beta released since yesterday, but since today the push messages that were send via the Apple production server didn't seem to arrive to the users' phones. I recreated the certificate in the Apple Developer Center, tested it on my local server and verified that the new certificate was working.
Then I deployed the new certificate to my live server, but I keep getting this error message:
stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (Connection refused)
I've made sure that I really uploaded the new certificate, but even resetting my live server wasn't helping.
I uploaded my project to another live server (a Google Cloud Instance) to verify if the certificate was only working on my local server or if it was just my live server that isn't working properly and the Google live server did deliver the push messages to the devices without an error message.
So it seems my default live server is the only server from where production push messages are not working. The pushes that are sent with the development certificate are delivered from every server successfully by the way.
Why could it be that I can't send push messages from that one specific server? Does anybody have any idea?
You have to check if Push Notification can be send from your server or not. That means the port 2195 should be opened in your server to do the same. Due to technical/ security reasons most of the hosting company blocking the port, you can ask them to open it if they can.
You can confirm whether this is opened or not in your server definitively by using telnet and specifying which port to connect to. From the command line run:
MyServer:~ Home$ telnet gateway.sandbox.push.apple.com 2195
Trying 17.149.34.143...
Connected to gateway.sandbox.push-apple.com.akadns.net.
Escape character is '^]'.
If there is an error connecting then it will just hang and not return - the above shows a working example where I can connect.
You'll need an SSH login to your hosting service to test it this way, and unfortunately you are unlikely to be able to test it on shared hosting without buying an account for VPS hosting- so you probably have to rely on asking their customer services.
Note: However shared hosting from Hostgator, dreamhost is working, you can chat with their support team before purchasing.
I'm using netBeans to develop a php application.
When I try to remote connect to the server I got this message:
Couldn't connect to server domain.com
Cause: java.lang.RuntimeException: Could not generate DH keyPair
I've read that if I update java it will fix the issue, but that didn't fix it.
Screen Shot of my IDE on java version
I'm connecting to the server by FileZilla successfully.
In FileZilla: Encryption: Requires explicit FTP over TLS.
FileZilla Connection
I guess that's security issue, but I don't know how to fix it.
The issue is solved. All what I did, I have uninstalled my old version 8.0 and installed version 8.1 of NetBeans.
Now it's connected now.
I'm using a WAMP running on windows 8.1 machine. I'm trying to establish a tcp connect to windows application (I don't have a source code, just instructions on which port to connect) on same machine using fsocketopen.
$fs = fsockopen('127.0.0.1',1201, $en, $es, $timeout);
And error message is: "No connection could be made because the target machine actively refused it."
I've disabled windows firewall and avg, checked if sockets are enabled and wamp and i'm out of solutions now.
Can anyone suggest what I should do?
First update your web service references used in your application.
If web service references are not get updated, then check all files and folder containing source code files in your web service project solution and rebuild it and then update web references used in your project.
Else if its working fine then you need to check your network services used by your development server and windows firewall settings as suggested in above solutions.
I also encountered same problem and I came to know that I was referencing wrong folder having same name but used in another solution.
Also Make sure your connection is not in proxy mode. In Windows 7 go to "Internet Options" in "Connection" tab click on "LAN Settings" and uncheck everything.
I have a problem connecting to the Couchbase database on the server. I installed Couchbase and it's running fine on the server. I can access it via the console, and also through the web application hosted on my local machine, but when I deploy the site to the server, I get this connection error:
Failed to connect libcouchbase to the server: Connection failure
I assume that the problem is with the libcouchbase module on the server. I use Ubuntu on my local and CentOS 6 on the server and those are the only parameters that make the platforms differ as far as this issue is concerned.
Has anyone ever encountered this issue? Any solutions / guidance?
I am using the Heroku app to host a facebook application since Facebook is changing how they have their applications set up, again. However I need to connect to the MySQL Externally from my cPanel VPS and I am not able to connect correctly. I have tried using the darkprospect.net(host domain), ultimate-battle-online.com (primary domain of user) and 184.154.20.170 as well as those plus the combination of added port 3306 and none have worked. I previously needed to make sure that I added the right domain to the right file but right now it's just not connecting. Right now get this error when using mysql_connect() function:
Lost connection to MySQL server at 'reading initial communication packet', system error: 110
Again, thank you for any ideas that you may have!
EDIT: I found out that it was an issue with the buildpack that is the default for PHP apps, since I develop on a VPS with PHP 5.4.7 I was using parameters that were tuned for it and were not very supportive on their bundle of vanilla PHP and Apache.
I was able to create a new Heroku buildpack that was able to support all of the features that my application was needing. Because I was developing on my VPS in PHP 5.4.7 my configurations were designed for more of the new features and with the Heroku's basic Buildpack only having PHP 5.3.10 there were unseen errors in background logs that were halting the connection process. Additionally CSF Firewall was configured only for UDP income 3306 and I was able to add it to UTP as well and that seemed to resolve the Connection Timed Out error that was the final error after I made a better buildpack for myself.