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.
Related
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!
I am facing a problem pretty common, I have installed MySql Server because in the past I developed an CRUD app by using Java Swing and Maven, and now I am trying to create same thing, a CRUD app only this time with PHP.
I am following a tutorial from Udemy and this guy is using XAMPP to launch both an Apache Server and a MySQL. But somehow it's interfering with the one already installed on my laptop and cannot make the connection with XAMPP.
I opened my.ini and where says password i put my own from MySQL Workbench, and I see it's using the same port 3306 but still cannot work and I dont know why.
Is there any solution to modify my.ini and establish the connection without uninstalling the MySql Server installed before, because if I do that I ruin the other Java app using it.
Could you please provide the error logs? So the problem can be identified properly. By default, you can get the logs file for Apache in
\xampp\apache\logs\error.log
And for PHP here \xampp\php\logs
I have created a local project that connects to a SQL2012 database. On my local machine I have Windows 7 64Bit enterprise, with MS SQL drivers with no problem at all. I moved the project over to a Windows Server 2012R2 production machine. I got the web server up and PHP working fine.
I checked the phpinfo() file and sql drivers are enabled and sqlsrv is a 'registered stream'
I have try & catch blocks for all my connections to the database. No errors
I have checked the Apache error logs and there is no indication of a problem connecting to the DB.
My project uses SQL authentication, using a Username and Password - not built in Windows Authentication. I tried to change the password to a incorrect one ---> still no error?!!
I even tried to disable Domain, Public, and Private Window Firewalls. Still nothing.
I'm totally stumped, perhaps someone here may have some ideas.
Does anyone know if the SQLSRV30 pack is compatible with Windows 2012R2?
OK I have figured out what the problem was, I needed to install Microsoft® SQL Server® 2012 Native Client located at: http://www.microsoft.com/en-us/download/confirmation.aspx?id=29065#
After that installed everything is working fine.
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.