Connect through Socks
GCPApr 12 2011 — edited Apr 22 2011Hi everybody,
do you know if it's possible to connect sqldeveloper to an instance through socks?
I can confirm that socks setup is working:
user01@gp-fs:~$ uname -a
Linux gp-fs 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux
user01@gp-fs:~$ socksify sqlplus SCOTT@ORCL
SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 12 12:12:16 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
u00000@hostsocks.mydomain.com.1080 sockspassword:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SCOTT@ORCL>
I have tried using socksify to launch sql developer but i got this error:
user01@gp-fs:~$ socksify /opt/sqldeveloper/sqldeveloper-3.0.04.34/sqldeveloper.sh
Oracle SQL Developer
Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
/opt/sqldeveloper/sqldeveloper-3.0.04.34/sqldeveloper/bin/../../ide/bin/launcher.sh: line 544: 8042 Aborted ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"
I have also tried passing as argument the standard socks parameters:
user01@gp-fs:~$ /opt/sqldeveloper/sqldeveloper-3.0.04.34/sqldeveloper.sh -DsocksProxyHost=hostsocks.mydomain.com -DsocksProxyPort=1080 -Djava.net.socks.username=u00000 -Djava.net.socks.password=password
Oracle SQL Developer
Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
ARGS:-DsocksProxyHost=hostsocks.mydomain.com
ARGS:-DsocksProxyPort=1080
ARGS:-Djava.net.socks.username=u00000
ARGS:-Djava.net.socks.password=password
but I got this error:
The network adapter could not establish the connection. Vendor code 20
Does anybody has faced this problem?
Bye.
Edited by: user12205126 on Apr 12, 2011 5:37 AM