How to connect to remote server in Aptana Studio 3 - apache

I have following web server configuration
OS: Ubuntu 12.04
Web Server: Apache 2.2.22
PHP: PHP 5.3.10-1ubuntu3.21
MySQL: 5.5.47
Virtual Host for web project 'MyWebSiteName001' is created in Apache server using Webmin.
'user001' is created under User Accounts and has Administrative privileges.
I have successfully installed Aptana Studio 3 on my computer. I also created new web project named 'MyWebSiteName001'. Now when I go to Create New Connections' option and try to connect to remove server project in FTP mode using user001/password, it is giving below error.
establishing ftp connection failed connection: refused connection
So I am not sure what I am missing or wrong I am doing and thus I am not able to connect to remote server. So please let me know how can I resolve this issue?

You have to create a ftp account first and then configure Aptana using this acconunt.
If you are using FileZilla Edit-->Users (here configure user, password, folders and permissions).
Hope this helps.

Related

TFS Configuration Error

I am facing a problem that when i try to configure my TFS it show me the following Error Message
Error
TF255049: A connection cannot be made to the server that is running SQL Server. Verify that you have entered the correct name for the server, including the instance name, that the server you are attempting to connect to is online, and that you have the required permissions to connect. If you are attempting to connect to the remote SQL Server instance, then verify that it is configured to allow remote connections, that TCP/IP protocol is both enabled and configured to use port 1433 (default), and that Windows Firewall does not block this port.
Check whether the SQL version is supported by the TFS version: https://www.visualstudio.com/en-us/docs/setup-admin/requirements#sql-server
Check the permission of the account that you use, and make sure it belongs to SysAdmin Server Role.
As #Daniel mentioned in comment, follow the troubleshooting steps provided in the error message, and check this blog to see whether it is helpful: https://elhajj.wordpress.com/2013/02/25/workaround-error-tf255049-punching-a-hole-through-windows-firewall/
I was running an upgrade from TFS 2018 to Azure DevOps 2020.
After the server restart, the Azure DevOps Server Configuration wizard opened.
I was logged in as the local machine administrator and got this error (TF255049: A connection cannot be made to the server that is running SQL Server...) when trying to connect to my SQL Server machine (to chose the configuration database).
I logged in as Network Administrator, started the wizard again and the SQL connection worked.
To restart the Azure DevOps Configuration Wizard again...
Open the Azure DevOps Administration Console and choose Configure Installed Features to open the Server Configuration Wizard...

Worklight access remote adapter from different server mobilewebapp

I have few adapters deployed in remote uat server.
I want to access them n develop mobile web app in my local worklight server.
Im using IBM Mobilefirst 7.1.0
I tried setting host and contxt path of uat server in mobilewebapp build settings and run the app in my local server. But query call is throwing 404 error.
Can anyone help me in accessing remote adapters in local server.
It would've been easier to help you had you provided information such as where are you setting that connection info and what are you setting... since you're getting 404, this would typically mean that you have incorrectly inputted the connection info.
In MobileFirst Studio, right-click on the application folder and select Run As -> Remote Target and Build Settings. There you need to input the server address:
Host: https://your-server-ip-address:port-number
Context root: /myproj (typically the project name, unless you've specified otherwise in the server.xml of the remote application server).

Cannot login as admin after fresh ApacheDS instal

I have downloaded the newest version of ApacheDS for Windows (2.0.0-M23).
After the installation on Windows7 Pro, with Java 1.8 u101 64 bit
which passed without any errors I tried to make a new connection from Eclipse, LDAP perspective from Apache DS Studio plugin, but cannot login as uid=admin,ou=system with a default password (secret), which should work for initial login.
I am using default localhost with port 389.
I get the error:
The authentication failed
- Cannot connect to the server: Connection refused: no further information
- No connection
I tried to point for Java1.7 at the installation with the same result.
Also tried to login from JXplorer.
Would you have any hints?
ApacheDS uses port 10389 right out of the box.
You can always make sure using the netstat tool.
You can change the port number from Apache Directory Studio using "Open Configuration" from the connection menu.

windows 2008 server R2 - remote desktop crashed after recent update

I have updated the server recently (only those recommended security update from the windows server), after installation i had to restart the windows server, however after restarting the server, all the port are closed and I have no access with RDP (no access to sql server database, no access to tfs ...) .  currently i can access to the server only over the ssl and i have access only to the cmd consul on the server. can any body help?(the server is in the ISP and it is a dedicated server).
Cause:
installation first kb2667402 then the Sp 1 update
effect:
No RDP available
Windows blocks users right and give no right to start the services
e.x
The TFS Service uses TFSSERVICE USER, but win2008r2 block this user and say this user is not exist!
what we have done:
uninstall the kb2667402
after Uninstalling the kb2667402, i have exported the installed update and proved that the updated has been successfully removed.
delete and copy the old version of the rdpcorekmts.dll in system32
reconfiguration of the RDP and add a new port and rule for firewall
reset the firewall and add the new rule (we made a back up)
add the Teamviewer portable version with a fix password, but we cannot access to the TV, "Authentication rejected"
Installed RAdmin--> no access: the user name or password is wrong!
try to connect with Computer management from my pc to the server and get the error: RPC Sever is Unavailable
I have stop the firewall and had access from my pc Event Viewer to remote server and could follow the errors on the server.
Problem reported
http://support.microsoft.com/kb/2667402
http://tmkilla.com/2012/04/windows-server-2008-r2-rdp-connection-error-sp1-kb2667402/
I have tried all the thing but didnt solve the problem. an idea how to solve the problem?

Unable to Connect to SQL Server 2005 Db From Vista x64 Windows Service

I'm trying to connect to a remote SQL Server 2005 db from a .NET Windows service running in Vista Home Premium x64. I can access the remote db from a console app with no problem. I can connect to a local db from the Windows service with no problem. I was able to connect from a service from XP with no problem. There's no firewall or anti-virus running. How do I configure this service to be able to connect to the remote db?
I've tried to connect by running the Windows service as a local admin account, LocalSystem, LocalService, and NetworkService.
The connection string:
Data source=SERVER_NAME;Initial Catalog=DB_NAME;Integrated Security=True;
The error:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
MORE INFO:
I have also tried to connect using SQL Server authentication with no success:
Data Source=SERVER_NAME;User ID=USER_ID;Password=PWD;Initial Catalog=DB_NAME
This connection string works from the console app too.
MORE INFO:
I ran Process Monitor for the Windows Service and the console app. The Windows service showed \SERVER_NAME\pipe\sql\query was ACCESS DENIED but the console app showed SUCCESS when reading/writing files to \SERVER_NAME\pipe\sql\query.
Good Lord! Why all the gibberish and complex responses on this site. Create a User Account
Either local or Domain and set the service to use that account. Then go into your SQL Server and Add you new account to the Database and set permissions. Voila!
Oh yeah, dont plague yourself with SQL Authentication. Integrated Security is much easier to maintain and without a password in your web.config your much safer.
1) open a command prompt. Type "ping SERVER_NAME". Does it respond? You may have a DNS or connectivity issue if this doesn't work.
2) "telnet SERVER_NAME 1443". Do you see anything or does it refuse your connection? This will definitively tell you whether or not someone is listening on the other end.
3) Go into SQL Server Management Studio. Right click Properties of your server. Select "Connections" from the left side. Is "Allow Remote Connections" checked?
4) Since you're running using network service/system, you will need to make sure you have a login configured on your server for the machine account DOMAIN\CLIENTSYSTEMNAME$. Note the $ sign. This is your machine account, and this will be the user that SQL Server will see.