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");

Similar Messages

  • 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]

  • Traffic move through Proxy Server in Production

    Hello,
                                                                                            Internet
                                                                                                  |
                                                                                          Internet Router
                                                                                                  |
                                                                                          Internet switch
                                                                                                  |
                                                                                               IPS
                                                                                                  |
                                                                                               Firewall
                                                                                                  |
                                                                                               IPS
                                        Inside ()---- Access-sw----------Core-SW------------DMZ
    This is my Company network diagram, all data go through the firewall  IPS is Inline mode on Acess and Core sw static route is configured for firewall but management wants all inside (Noc Room Helpdesk Team and Third Party members) traffic must pass via Proxy server that is connected to Core switch Please anybody tell me How can i do this in a Production Enviornment and which type of changes i need to do on Access or Core Switch.They will use Squid for Proxy on Linux Server

    WCCP can be used to redirect traffic to the proxy server. See below a configuration example:
    http://www.crypt.gen.nz/papers/cisco_squid_wccp.html
    Don't forget to rate all posts that are helpful by clicking on the stars below.

  • 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.

  • 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 é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/

  • 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

  • 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

  • Safari can't connect to the web proxy server (HTTP)

    Hello,
    I have following problem. I need to connect to the internet using a proxy server. I went to System Preferences/Network/Wi-Fi/Advanced.../Proxies. Then, I selected Web Proxy (HTTP) and enetered server's IP address and port. It looks like I did everything correctly, but Safary can't open any page because "Safari can't connect to the web proxy server (HTTP)". Does anyone know how to solve this problem?

    There are three possibilities:
    1. You entered the wrong address and port number for the proxy.
    2. You entered the wrong user name and password, if applicable.
    3. The proxy doesn't work or is incompatible.

  • 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

  • Communication between applets using socket

    Hi,
    we have an application in which based on certain criteria a video is bieng played in the applet on same machine.Now we have to separate the video component from the application part so that video can be played separately. they will be communicated using socket.Can any body tell me how to go about for the solution.

    To do this you must have a server application listening to a port on a server box that has a fixed IP. In your Java app, you need to create a Socket connection back to the server (may need to sign your jar - but maybe not)
    voila you're there.
    You may want to search google + these forums for my InfoFetcher class which is built to grab data from an inputstream and report updates to listeners

  • Nokia 2730 does not allow to use socket connection

    I recently bought a Nokia 2730 Classic, but I am not able to browse internet on this phone through the Socket connection, like how the other Nokia 2330 Classic can do.
    For the Nokia 2330 Classic, I need just put the SIM into it and start the phone, then go to the configuration and just select Internet APN as the Access Point and the phone will work fine with Opera Mini and other Java applications like Ebuddy, Bolt Browser etc through “socket” connection”, without the need to request the internet settings from my operator through SMS.
    But in the Nokia 2730 Classic when I put the same SIM into this phone and Select the same Internet APN as the Access point, I am not able to browse the internet on Opera Mini and I have to send SMS to my operator to get the settings.
    The main problem here is that even after saving the internet Settings of my operator on the Nokia 2730 Classic, the internet does not work on in the Socket Connection, hence Opera Mini 4.2 and 5.1 (and other java applications which need the socket connection) will not install or work. (although the internet will work on the default browser of the phone)
    I am also able to connect the Nokia 2730 Classic to the computer and browse the internet through Data Cable / Bluetooth normally.
    I tried with another operator using an internet data plan, but got the same results.
    Can someone please tell me how to adjust the settings correctly so that the Nokia 2730 will work on the Socket connection so that I can browse on Opera Mini 5.1 and 4.2 and other Java browsers and applications which work only on the Socket connection?
    Another strange issue is that after trying to use the internet on the Nokia 2730 (without any positive results), when I put the same SIM back into the Nokia 2330, the internet does not work for some hours on the socket connection and I have to use the http connection till then. Quite strange.
    Any help will be greatly appreciated.

    My problem is sounds to be somehow related to this. Actually, I do not have reference if the problem was already on SW version 9.41 (?), but at least after the firmware upgrade (v 10.40) I get the following message "Suojattu yhteys ei käytettävissä" ~ in English "Secure connection not available" when trying to open https links e.g. directly from text message.
    Obviously, the same problem happens with I try to download an application from Ovi. I am able to browse the applications in the service, but once trying to download/install the problem occurs.
    Opera is capable to open the https connection, but OVI does not support it => there is no way to install any application from Ovi. I have tried both Elisa and Saunalahti SIMs, but it seems not to be a settings releated.
    One note still in the firmware upgade: when doing it it first time, there was an error when restoring the backup. I made the firmware upgrade couple of times again and even so that I did not restore the backup.
    Could it be that the first time firmware upgrade somehow bricked the phone? I have also been wondering, why there is no settings menu available in Web section?
    Any ideas?
    BR,
    Mika
    /* Mika */

  • LMS 4.0.1 tries to connect to itself through proxy

    Hello,
    I am experiencing a weird issue with LMS 4.0.1 running on Windows 2008 R2 Standard Edition.
    LMS 4.0.1 can connect to the Internet through a web proxy. This proxy does not require authentication. I need to configure proxy in LMS in order to quickly update LMS (by doing Device Updates for CiscoView and Inventory Config)
    As soon as I configure proxy settings for CCO connection (i.e, under Admin -> Cisco.com settings -> Proxy Server Setup), LMS stops working properly. In particlar, ANI database breaks down (this is actually still running, but connection to ANI is impossible).
    After doing packets capture, I noticed that LMS server (which is called SRVLMS01) tries to connect to itself *through the proxy* when configured. Of course, this does not work (the proxy refuses such connection) - see below (especially packet #8):
    4 0.002564 <LMS IP address> <Proxy IP address> HTTP POST http://SRVLMS01:1741/CSCOnm/servlet/com.cisco.nm.cmf.servlet.LwmsMainServlet?fromCLI=true HTTP/1.1
    5 0.002585 <LMS IP address> <Proxy IP address> HTTP Continuation or non-HTTP traffic
    6 0.003617 <Proxy IP address> <LMS IP address> TCP http-alt > 34514 [ACK] Seq=1 Ack=763 Win=64938 Len=0
    7 0.007023 <Proxy IP address> <LMS IP address> TCP [TCP segment of a reassembled PDU]
    8 0.007025 <Proxy IP address> <LMS IP address> HTTP HTTP/1.1 403 Forbidden  (text/html)
    Everything recovers when removing proxy settings and restarting LMS processes (that is, ANI server comes back online).
    FYI, Internet Explorer on LMS server is configured so that proxy settings are bypassed when connecting to http://srvlms01 or to http://<LMS server IP address>. Using IE on the server itself to connect to LMS works just fine.
    Of course, I could remove LMS proxy settings and download all CiscoView packages manually, but that would be really painful.
    Kind regards
    Pierre-Loic

    Bonjour Pierre-Loic,
    Can you try on the server to use the resolver.pl in /opt/CSCOpx/bin to resolve the hostname of the server and it's IP address.
    Do they resolve to what  you think they should?
    Meanwhile, download the device package updates can be done quite quickly, installing them can take longer I noticed.
    Cheers,
    Michel

  • Connect to Server HTTPs through Proxy Server Problem

    I am trying to connect through a company proxy via port 8080 to a https connection on a server so that it can mount on a desktop. Using 10.4.11 on Mac Pro
    The connection works http through the company network and works http and https through my home network. The company require we use secure connections or something they will supply which will be out of date and clunky to use. I am using FullSwitch as a workflow so need the volume to mount.
    Basically I do the following:
    Go
    Connect to Server
    type address https://??????????????????/???????
    I then get a Proxy Auth where I put my domain, user name and password
    A certificate is then returned and I press continue
    It then attempts to pass through the proxy tunnel to connect but just keeps going and going......
    It should come up at this point with the server login but it doesn't
    We are told by the IT team which only supports PCs that it is then that the Mac tries to create 2000+ connections but doesn't just creates lots of network traffic.
    In between us and the proxy we sit behind a firewall but are told that there are no rules to stop https etc. I can connect to the site through Safari via https but as I need to upload files I need to be able to mount via https as a volume
    Are there any suggestions as to what the issue may be or questions that I can try and ask IT to gather more info?
    Many thanks

    Many thanks for your reply. We can use ftp but can not tunnel sftp through the proxy.
    As I use fullswitch for automation I would like to keep the simplicity of mounting the server as files can be uploaded easily. Currently using http no problems but am being forced to use https from IT Security and of course being in a large corporation with only 35 Macs they say they don't support Macs and hey you have to do it our way or else. Driving me mad.
    Sorry for going off on one but it is so frustrating as the supplier we are sending to wants the files the way we currently send them as they have their system workflow but my company wants us to use their sftp system that is clunky for in and out going file connections forcing suppliers to go to our sftp servers and not us supplying to them.....................
    Right then I currently use Transmit with Type 7 on the proxy type for FTPing files using FTP Protocol not SFTP and have no problems going to the sites we have asked to get specific access to (again takes 2-14 days to get all the firewall rules changed to allow access to new ftp sites we are given, very efficient working practice)
    So as you can see I really want to get the https working as it is the best option for workflow if IT security want us to secure.
    Many thanks, again sorry for my ranting

  • Spaces application is unable to connect to internet through proxy

    hi ,we have developed a portlet which reads weather from XML file from the following URL :
    http://free.worldweatheronline.com/feed/weather.ashx?q=Riyadh,SaudiArabia&format=xml&num_of_days=2&key=d35160acaf083722112707.
    this works fine at our offices because we don't have a proxy server ,but when we implement this on client environment,the application fail to connect .
    I've added proxy server IP and Port to the general proxy configuration on the server ,but it still no working .
    i have webcenter 11.1.5 installed on oracle Enterprise Linux 5.5 64-bit .
    i used this java option (JAVA_OPTIONS=${JAVA_OPTIONS} -Dhttp.proxyHost=172.16.1.20 -Dhttp.proxyPort=8080) i but this in setDomainenv but i have the same error ,is it possible that i put this option on a wrong place on the file ?
    my application is deployed on admin server and on portlet server .
    log files say nothing about this ,i don't know why !
    can anyone help please ? tell me if you need anything from me to post .
    regards

    Please refer to below URL for proxy settings.
    http://docs.oracle.com/cd/E25054_01/webcenter.1111/e12405/wcadm_rss.htm
    Thanks & Regards,
    Murali.
    ===========

  • 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.

Maybe you are looking for

  • Local attributes - global attributes tradeoff

    Hi, MDM experts. Can you, please, share your experience on business partners repository modeling. I build custom business partners repository. While creating it I came to a question - whether local system attributes of business partner should be mode

  • When opening a new tab, babylon search opens by default (which I Hate), How can I change it?

    Babylon search and tool bar, got installed in my computer when I installed some other program (Ares). And now there is no way I can get rid of it (of Babylon). Please help. It is annoying.

  • PC Died, and was restored. How do I restore backed up songs?

    I'm leary of even connecting my shuffle because I know itunes will try to delete it. Please Help!

  • How to create boolean selection variable

    hi experts, i need a selection variable (which can be a boolean). depending on the value of ythis variable, i would like to adjust calculation of number of worked days in the month with taking/or not into account current day in this calculation... i

  • Dynamic FLV playlist

    Hi guys, Im trying to create a dynamic streaming FLV playlist using the list component and Flash Communication server 1.5. Ive tried modifying both guides by Lisa Larson (the one for FMS2 and the one for FCS1.5) but whenever I load the completed swf