This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The error message "Cannot connect to Server" is confusing and does explain why the connection failed.
Created attachment 85750 [details] undescriptive error message
What are the exact steps to reproduce? I have tried it and it works fine for me, attaching screenshot. One note - the name of the server is used in the dialog - so you named your server "ftp://...", right? If so, it is definitely not common use case. Thanks.
Created attachment 86202 [details] screenshot
Tomasi, no I've named my server simply xD .. see the attachment - it displays both windows on top of each other. It seems hostname is used, which is not necessarily wrong. The problem is that the error message does not make much sense, probably because it's trimmed even though the hostname is not extremely long.
Created attachment 86234 [details] error message with short connection name
Now I see - it's a specific problem for UnknownHostException; this exception unfortunately does not tell what's the problem, just the server name is returned. I will work around it.
Fixed. http://hg.netbeans.org/web-main/rev/32731b470115
Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/32731b470115 User: Tomas Mysik <tmysik@netbeans.org> Log: #169796: the "connection failed" error message is confusing