REMOTE SERVER  MYSQL  DATABASE  CONNECTION THROUGH PROXY SERVER

I want to connect to remote server through my proxy server, I have done all required parameter but the Exception is comming as follows :-
Exception while connecting to database: java.sql.SQLException: Unable to connect to any hosts due to exception:java.net.ConnectException: Connection refused: connect
Please help

To clarify, if it helps, I have a database of event dates and and details which I wish to query in order to show the most imminent event on one page, and to display all forthcoming events on another.
I would be happy to delve into whatever package is required to achieve this, but would prefer not to go down a whole set of blind alleys to get where I am going.
If the recommendation is to find and install the original extensions, then great, but I don't have them in my Dreamweaver CC package. If there is a better, more up to date option then great; I am guessing/hoping that Adobe would not have taken one method away if there wasn't a better alternative.
A push in the right direction would be most appreciated.

Similar Messages

  • Applet using socket connection always go through proxy server

    Socket connection with socks always go through proxy server
    We have two applets in different codebases using socket to talk to each other, until now nothing new, but the problem is that we are behind a proxy server with socks and because of that, the connection always go through the proxy server even with proxy override point to the applet machine. We have tried a lof of things and until now nothing worked, it looks like the socket is ignoring proxy override configuration. We would like to know if there is a way to solve this problem making the applets comunicate to each other ignoring the proxy server. It should happen when we set the plug-in option to "no proxy host", but it doesn't. Maybe it can be a bug of JVM, I don't know, just maybe, and if it's true, any other good idea would be welcome as well.
    Thanks in advance.

    Hi,
    I am not very much sure if I can help you. In my previous experience, once you set the system property to use the proxy, then the jvm uses the proxy. If you want disable, in your code, you have to disable it.
    like System.setProperty("socksProxyHost","someHost"), Properties props = System.getProperties(); props.remove(("socksProxyHost");

  • System Update -- Cannot connect to proxy server - SOLVED

    I'm on a ThinkPad T61 running Windows Vista.  When I try to download from System Update, I always get the error message "Cannot connect to proxy server."
    I have tried connecting to the Internet directly via Ethernet rather than through a wireless router--it doesn't make any difference.
    I have also uninstalled System Update and then installed the version I downloaded from lenovo.com--same result.
    System Update is an exception in Windows Firewall, and I have even tried running System Update with Firewall disabled--ditto.
    Can someone please help me?
    Message Edited by Tim_Lenovo on 01-29-2008 02:49 PM
    Solved!
    Go to Solution.

    I have discovered one other potential cause of this behaviour.
    If your computer is attached to a Domain, ensure you are connected to the Domain using a profile that has administrator rights when attempting these upgrades.
    I was using a local profile with administrative rights, on a network connection that was outside of the corporate LAN, and I was getting the "Cannot connect to proxy server" error.
    When I connected to our Corporate LAN and logged on to the machine with an administrative profile, the Proxy Server error went away, and I was then able to connect and download my required updates.
    Just an FYI if you are doing this inside a large, firewalled LAN running from Active Directory.

  • Accessing WS Service through proxy server

    Working with WLS 8.1.4 i cannot access remote service through proxy server.
    I have setted up everithing needed and more:
    http.proxyHost=HOST
    http.proxyPort=8080
    http.proxyUser=WIN_DOMAIN\USERNAME
    http.proxyPassword=PASSWORD
    http.agent="Microsoft Internet Explorer 5.0" weblogic.net.proxyAuthenticatorClassName=MyProxyAuthenticator
    weblogic.webservice.transport.http.proxy.host=HOST
    weblogic.webservice.transport.http.proxy.port=8080
    weblogic.webservice.client.proxyusername=WIN_DOMAIN\USERNAME
    weblogic.webservice.client.proxypassword=PASSWORD
    weblogic.webservice.verbose=true
    weblogic.webservice.binding.verbose=true
    weblogic.webservice.transport.http.full-url=true
    The strangest thing is that apparently no MyProxyAuthenticator is instantiated for I cannot see a System.out.print(message) I wrote its init() method.
    Please help ... thanks in advance.

    I am having the same problem. My client has the exact same properties as the previous poster:
    // Standard JDK Properties
    System.setProperty("http.proxyHost", "proxy-cache.xxxxx.xxx");
    System.setProperty("http.proxyPort", "9119");
    System.setProperty("http.proxyUser", "username");
    System.setProperty("http.proxyPassword", "password");
    System.setProperty("http.agent", "Microsoft Internet Explorer 5.0");
    // Specific Weblogic properties
    System.setProperty("weblogic.net.proxyAuthenticatorClassName", "com.bcbsmn.webservices.authentication.ProxyAuthenticatorImpl");
    System.setProperty("weblogic.webservice.transport.http.proxy.host", "proxy-cache.xxxxx.xxx);
    System.setProperty("weblogic.webservice.transport.http.proxy.port", "9119");
    And here is part the response I get from the proxy server:
    [java] <BODY>
    [java] <H1>ERROR</H1>
    [java] <H2>Cache Access Denied</H2>
    [java] <HR noshade size="1px">
    [java] <P>
    [java] While trying to retrieve the URL:
    [java] <A HREF="......">http://................
    ITestPricer</A>
    [java] <P>
    [java] The following error was encountered:
    [java] <UL>
    [java] <LI>
    [java] <STRONG>
    [java] Cache Access Denied.
    [java] </STRONG>
    [java] </UL>
    [java] </P>
    [java] <P>Sorry, you are not currently allowed to request:
    [java] <PRE> http://...............</PRE>
    [java] from this cache until you have authenticated yourself.
    [java] </P>
    ...and my authentication impl is never called according to my println's. I tried adding the proxyAuthenticatorClassName property to the command line as a JVM arg with no luck. Please help if you can, thanks.
    Matt Dowell
    Blue Cross Blue Shield

  • Adding Pix device public interface through Proxy server into CSM Fails

    Hi
    I am trying to add a device into CSM. The device is only reachable through proxy server. If i try to add the device, the connectivity test fails" unable to communicate with device". If i debug on the PIX i see no connection attemps. If imake a https connection from the Explorer from the windows server running CSM i get connected. I have set the proxy settings under Server Administration. I can update packages from CCO through the proxy. Is there somewhere else to tell CSM to run through proxy ?

    Hello,
    maybe your problem has to do something with loading SLPDA.NLM. If you
    cannot get to open Autoexec.ncf then go back to DOS-Mode, rename this
    file in C:\nwserver-directory and start again. i have seenthis behaviour
    on servers loading SLPDA with no network-communication and they stop
    loading at WPSD.NLM. Try to load SLPD.NLM manually when the server is
    up. After that shift the line in Autoexec.ncf where you want to load
    Slpda.NLM to the end of the file and boot the server again to see what
    happens.
    Good luck
    Burkhard Wiegand
    Netware Admin
    Debeka-Versicherungen
    D-56068 Koblenz

  • Mac Appstore not working through proxy server

    I use net through proxy server of my college(lan). My Appstore doesnt work on it. it keeps blinking or shows "cannot connect to appstore". GoogleChrome and other apps are working fine. Also, appstore worked at my home where i use wifi.

    That's right. It doesn't work through a proxy.

  • Cannot access server in HQ through proxy server

    Hi Experts,
    We have a TMG 2010 installed and clients are accessing Internet through it.
    And now there is an access problem to the destinatined server in HQ in another country, and it was fine to reach the destinated server before the servere changed its IP.
    When trying to accesss the destinated server with new IP, the TMG log and report shows the connection status with
    12030: The connection with the server was terminated abnoramlly.
    While there is another guest segment that allows Internet access without proxy server, and they are able to access the server with no problem at all.
    When I captured packets using Wireshark from the pc and found that the connection was actually from the pc to proxy server with the following result:
    from PC to Proxy server
    CONNECT xxx.xxx.com:443 HTTP/1.0
    from Proxy server to PC
    HTTP/1.1 502 Proxy Error (The connection with the server was terminated abnormally) (text/html)
    Would there be a configuration problem inside TMG?
    When i include the domain in https inspection exemption list, is that means client would be able to reach ther destination without being inspected?
    Then how about the incoming connection? Is there any rules which will restrict HTTPS inbound?
    Apart from above problem, clients also not able access some of https website such as banking with CA's, and no problem using guest segment (not through proxy server).
    Thanks in advance
    Ben

    Hi,
    >>And now there is an access problem to the destinatined server in HQ in another country, and it was fine to reach the destinated server before the servere changed its IP.
    Have you tried to re-create the rule to access the destinatined server after it changed the IP?
    >>When i include the domain in https inspection exemption list, is that means client would be able to reach ther destination without being inspected?
    When a site is added to the HTTPS inspection exclusion list, Forefront TMG does not check the site’s certificate for expiration or revocation. However, name mismatch and trust are always checked, unless the “No Validation” mark is set.
    Reference:Troubleshooting HTTPS inspection
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Re: (forte-users) HTTP request through proxy server

    Daniel -
    No, it does not. ;)
    How do you say to HTTPRequest to go through proxy?
    Thanks,
    Taras
    Daniel Nguyen wrote:
    >
    Hi,
    It works very well. I have experienced this model for a distant Forte client
    calling a Forte Server service Object for instance without any environment
    and without TCP access (passing through firewall for instance).
    It has also worked very well to make an injectot to improve Web Enterprise
    and IIS using the SendRequest from HTTPAccess.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Taras Katkov a &eacute;crit:
    HTTP request through proxy server using forte HTTP library?
    Any experience?
    Thanks,
    Taras
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    You can also use the HTTP-DC project.... You don't
    need Web Enterprise for this. From what I can tell,
    this is available in L.x on....
    There is api documentation in M.2 (with scant
    examples.)
    There's a special process to put the project in your
    repository (it isn't installed in the repository in
    the standard install,) the documentation in M.2
    (probably in M.0 too, AFAIK) that tells you how to do
    this (look for HTTP-DC in the online help.)
    I haven't done much with it yet, I've just installed
    it. If anybody out there has examples, that'd be
    great. I'll try to contribute more the moment I get a
    chance to explore it....
    Christopher Fury
    BellSouth Communications Systems
    --- Daniel Nguyen <dnguyenclub-internet.fr> wrote:
    Hi,
    If you have Web Enterprise, you can user
    HttpAccess.SendRequest().
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Amin, Kamran a &eacute;crit:
    Is there any way to make a HTTP request from TOOLto another HTTP Service?
    thanks in advance.
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. Tounsubscribe, send in a new
    email the word: 'Unsubscribe' to:forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    Kick off your party with Yahoo! Invites.
    http://invites.yahoo.com/

  • An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
    error: 40 - Could not open a connection to SQL Server)

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named
    Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Hello,
    Make sure your SQL Server service is started.
    Make sure TCP\IP and names pipes protocol is enabled
    Make sure you have made an exception in firewall for SQL Server connection
    Make sure SQL Server browser service is enabled
    Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
    Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
    http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to connect to mysql database using a proxy

    Folks,
    I wrote a program to connect to both webpage and mysql databases. Because my internet has a firewall (proxy) I set up the internet connection like this:
          System.getProperties().put( "proxySet", "true" );
          System.getProperties().put( "proxyHost", proxyHost);
          System.getProperties().put( "proxyPort", proxyPort);
          Authenticator.setDefault(new MyAuthenticator());The http connection works fine. However the mysql database connection gives me an error:
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection timed out: connect
    STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect
            at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
            at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at myapplication$LongTask$ActualTask.<init>(app.java:182)
            at myapplication$LongTask$1.construct(app.java:121)
            at myapplication.SwingWorker$2.run(SwingWorker.java:107)
            at java.lang.Thread.run(Unknown Source)
    ** END NESTED EXCEPTION ** What can I do? Do i need to setup a SOCKS Proxies or something?
    Thanks a lot!!

    SOCKS it is.

  • IR web client server(0):Database connection information not accessible.

    Hi,
    We upgraded our system from Hyperion 9.3 to EPM 11.1.2.2. We mainly use the reporting tools SQR production and Interactive reporting.
    Using workspace as an admin if I run a BQY everything works fine but when I try to do the same as other users I get the error "server(0):Database connection information not accessible. Processing is disabled" from the
    I have migrated everything form the old version and haven't changes anything since. It looks like a provisioning issue and I tried looking and comparing everything from the present production(old 9.3 system).
    Did anyone else face the same issue before? Any suggestions on where to look into.
    Thank you in advance.

    Hi ,
    You have to go to my oracle support website link is : https://support.oracle.com/epmos/faces/MosIndex.jspx?_afrLoop=7929796452543&_afrWindowMode=0&_adf.ctrl-state=113hdvh7xd_4
    login with your oracle ID and password you have for your company and search for the document number in the "search knowledge base" which will show up on the top right corner of the page.
    The search will show you the document and you can access it.
    Hope this helps.

  • Help needed for CORBA over Http through proxy server[Very Urgent]

    Hi Friendz,
    I am new to J2EE. Right now I am learning RMI, Corba now.
    In RMI, to pass through Http to bypass firewall or through proxy sever, we can use either Http to port or Http to CGI/Servlet i.e., Http tunneling.
    In the same, I am running a simple corba application, i want my corba application to pass through my proxy server using http which is configured to address 127.0.0.1 and port 8118.
    How to pass my corba application through proxy server. please help me and it is very urgent.
    Is it possible or not, please let me know some comments about this topic
    Thanks in advance Friends for your help

    This is so extremely urgent that it needs to be asked multiple times.
    http://forum.java.sun.com/thread.jspa?threadID=762950

  • Steps to change universe database connection from SQL server to Oracle 10

    Hi,
    we are moving from sql server to Oracle 10.Please let me know the steps and various parameters I should consider while changing universe database connection from SQL server to Oracle 10.
    Following are the steps which I assumed :
    1.     create a new Oracle database connection or edit the existing connection to point to Oracle server
    2.     Need to check sql for each object, having integrity check for universe will solve the purpose of parsing each object
    3.     Exporting the universe after integrity check
    4.     Report data testing
    Let me know if I miss on any steps.Also what all factors I need to consider while moving to Oracle for eg: what @ custom sql,what @ table names,what @ LOV etc.
    Kindly reply

    Thanks Abhijeet and Shreyash,
    I will follow the steps you have suggested.
    Actually I was searching for this on net and got to know that with Oracle database connection,theres lot of stuff needs to take care of in terms of custom sql and LOV and in our case,we have lot of custom sql for each object in the universe so just wanted to confirm.
    I will do the changes and let you guys know in case theres any isuue specifically to Oracle.

  • TV System Update hangs at 21% with message "Cannot connect to proxy server"

    Hi,
    just installed TVSU (latest version) on my Thinkpad T40 (with WinXP Pro SP3, German). Installs fine, runs perfect after reboot, recognises the correct model, initiates search for updates and then stops at 21% whilst  displaying
    "Downloading Packet Information: Lenovo Help Center (1 of 1)".
    A few seconds later the error message
    "Cannot connect to Proxy Server"
    comes up with an OK-Box. Clicking OK terminates the entire update process, however TVSU continues to run properly and the process can be restarted with the identical result. This happens with Kaspersky Firewall on and off, no difference. Even rebooting the system w/o firewall and virus protection and starting afresh does not help either. Tried perhaps 15 times over the last 4 hours with same results. I assume that the error message refers to a proxy at Lenovo since in my local environment there is no proxy involved. The system is known to be free of viruses (clean installation yesterday and virus checked this morning).
    Note:
    The display/error message above were translated from German into English so the corresponding original English displays/messages may look slightly different.
    Any ideas?
    Regards from Germany...

    I have discovered one other potential cause of this behaviour.
    If your computer is attached to a Domain, ensure you are connected to the Domain using a profile that has administrator rights when attempting these upgrades.
    I was using a local profile with administrative rights, on a network connection that was outside of the corporate LAN, and I was getting the "Cannot connect to proxy server" error.
    When I connected to our Corporate LAN and logged on to the machine with an administrative profile, the Proxy Server error went away, and I was then able to connect and download my required updates.
    Just an FYI if you are doing this inside a large, firewalled LAN running from Active Directory.

  • BPC Connection Through Proxy

    Deal All,
    We could not connect BPC through proxy server. Can anybody let me know any specific setting required.
    Best Regards
    Shesh

    Sorin,
    Thank you so much for the reply. 
    I think you are saying that when I connect  that when I am connecting directly to BPCWEB it is saying knows you are authenticated to the windows domain. But when it gets it from the proxy server it is now not you anymore the BPCWEB server sees it coming from the proxy server NOT the windows domain.
    So instead of DOMAIN/userID connecting it is PROXY/userID connecting. BPC doesn't know you. This cannot be the first time this has been seen.
    Do you know a way around this?  I am currently using sapwebdispatcher as my reverse proxy here, however I do not mind trying other products.
    Would you have any recommendations on what your other clients use as a reverse proxy for BPC. 
    To simply things, we have DOMAIN users ---> Reverse proxy box ---> BPC Web .NET Server.  We want to eliminte the ability for direct access to the BPC web .NET Server
    Thanks again... any help would be great as we have been struggling for a few weeks to get this silly access issue resolved.
    Edited by: Russell Hull on Feb 20, 2010 7:24 PM

Maybe you are looking for