Format of setting proxy server

Hi All,
can anyone tell me what is the format of setting the proxy server as ,
i m just giving the http:\\username:password@ipaddress:8080
but this is not working.
I used the same ip address,which i used in my ie settings
Thanks & Regards,
Nandini Thakur.

I have a similar problem.
I'm trying to access a URL behind a proxy with password autenthication.
I tryed in this way:
     System.getProperties().put("proxySet", "true");
     System.getProperties().put("proxyHost", "my proxy");
     System.getProperties().put("proxyPort", "80");
     Authenticator.setDefault(new MyAuthenticator("us","pw"));          
     URL url = new URL("http://giadasvil/analisi");
     InputStream inputStream = url.openStream();
     BufferedReader in = new BufferedReader(new InputStreamReader(inputStream,"UTF-8"));
     StringBuffer res = new StringBuffer();          
     String str = "";
     while((str=in.readLine())!=null)
     res.append(str);
     return res.toString();               
where MyAuthenticator:
static class MyAuthenticator extends Authenticator {
     String user;
     String password;
     MyAuthenticator(String user, String password){
          this.user = user;
          this.password = password;
     protected PasswordAuthentication getPasswordAuthentication() {
     return new PasswordAuthentication (this.user, this.password.toCharArray());
but I receive this exception:
java.io.IOException: Server returned HTTP response code: 407 for URL: http://giadasvil/analisi
can anyone help me?
I don't know if the problem can be the type of proxy.
thank in advance

Similar Messages

  • How to set proxy server name in iasenv.ksh?

    How to set the proxy server host and port in the JAVA_ARGS list in the iasenv.ksh file? IAS 6.5 is the server being used.

    hi,
    Below is what needs to be done.
    1. Edit the variable JAVA_ARGS in iasenv.ksh to include the -Dhttp.proxyHost. For example, the JAVA_ARGS looks like this : JAVA_ARGS="-Xss512k -Xms64m -Xmx64m -Dhttp.proxyHost=proxy.myhost.com -Dhttp.proxyPort=8080"
    2. This JAVA_ARGS is the one under the kjs script settings. You will find this below the comment ## Set all user level JVM flags for KJS here.
    3. Now stop and restart the application server.
    4. Any new URL connections from the servlets/applications within the appserver will now go through the proxy server.
    I have tested this on iAS6.0 SP3. But this should work in 6.5 too. Please let me know if this helps.
    Cheers,
    Vasanth

  • How to set proxy server in firefox in windows mobile

    how can i ser proxy for firefox
    i am using windwos mobile and i can only set the proxy for GPRS
    is there any way to set in firefox?
    pleeeeeeeeaaaaaaaaaaaaaassse

    I haven't tested this, but if you type about:config in the address bar and search for "proxy" then you might be able to set the "network.proxy.http" and "network.proxy.http_port" preferences to the name and port of your proxy server.

  • Setting proxy server via dhcp

    We would like the DHCP server to use option 252  to issue the proxy settings each time someone gets an address. I understand you have to create a proxy pac and store the file on a web server, but was wondering what the best way is to set this up as
    we have multiple locations with the DHCP Servers.

    Hi bubba1984,
    Additional, you can refer the following specific KB and article for how to configure the proxy auto settings.
    CMT_H_CnfDHCP
    http://technet.microsoft.com/en-us/library/bb839043.aspx
    SRSP1_H_Create252
    http://technet.microsoft.com/en-us/library/bb794881.aspx
    WPAD detection in Internet Explorer
    http://blogs.msdn.com/b/askie/archive/2008/12/18/wpad-detection-in-internet-explorer.aspx
    How can I tell if IE has received a WPAD configuration file when “Automatic detection” is enabled?
    http://blogs.msdn.com/b/askie/archive/2009/02/18/how-can-i-tell-if-ie-has-received-a-wpad-configuration-file-when-automatic-detection-is-enabled.aspx
    Automatic configuration does not support certain file types in Internet Explorer 8.0
    The DHCP clients may not obtain the configuration script when you use DHCP Option 252 to automatically configure Internet Explorer
    http://support.microsoft.com/kb/971740
    http://support.microsoft.com/kb/911072
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can't Set Proxy Server For AIM Account

    Hi!
    In the Messages application, the AIM account has a Server Settings tab where one can opt to connect using a proxy. However, with Mavericks I have found that anything I enter in that field is instantly wiped out. The console logs a message each time:
    11/21/13 3:29:25.055 PM Messages[5215]: [Warning] *** API client requested a modification of key "ProxyHost"  to be "myproxy", this is being ignored, please file a radar
    where "myproxy" is anything one enters into the field.
    Any advice?

    Hi,
    This issue goes way back in to the history of iChat.
    It has never been that good at connecting using Proxies.
    It has does slightly better if using the System Settings.
    I don't use Proxies and so have never spent any time working though this.
    Basically iChat and Messages connecting via a Buddy List is via the AIM servers but is almost Peer-to-Peer in process.
    Connections are very linear particularly for Video and Audio chats to the extent that connecting to your router with Ethernet and Wifi is enough to cause issues.
    Whilst starting up the app also contacts Apple to test bandwidth (Internet Speed) and support things ready for Video and Audio chats.
    It is not just a case of Logging in to AIM.
    8:59 pm      Friday; November 22, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Setting proxy server when using Opera

    I managed to set up a network location for my office, where we connect via a proxy, and for home, where there is no proxy. Safari correctly recognizes the proxy settings in each location, but for some reason Opera, my main browser, does not. As a result, I need to go into Opera's preferences each time to set the proxy settings. Is there an easier way of doing this?
    Thanks for your time.

    This is an Opera issue, so it would make sense to contact their tech support for assistance.

  • ADFS Proxy server Event ID 393

    0
    Hello,
    I am setting up ADFS proxy server , i am setting proxy server in DMZ and only port which is open to ineternal ADFS service is 443,
    I am using a SAN cert with ADFS service name as Subject alternative name (ADFSService.net) ad the subject name of cert is what will be resolved over the internet (ABC.COM).
    I have successfully setup ADFS SQL farm , where as iam getting evet ID 393 when i asetting up ADFS proxy server. it i not accepting the creds of the ineternal ADFS servce service account .
    the federation server proxy could not establish a trust with the federation service
    Any help would be highly appreciated.

    Hi Zulfiqar,
    Please check the time difference between the proxy server and the ADFS server.

  • Problem on Setting up a Reverse Proxy on Web Proxy Server 4.0.1

    After you setup a reverse proxy using Web Proxy Server 4.0.1, if you get the following error --
    Proxy denies fulfilling the request
    Your client is not allowed to access the requested object.You probably forget to add a regular mapping from: / to: http://http.site.com/. The information provided in 4.0.1 Administration guide is misleading. You will have to add it NOW manually. (Note: in 3.6 it will be added automaticly)
    You will have to do the following step manually, what provided in the manual is misleading --
    Sun Java� System Web Proxy Server 4 .0.1 Administration Guide 2005Q4
    Chapter 14 Using a Reverse Proxy
    "Setting up a Reverse Proxy"
    5. To make the change, click OK.
    Once you click the OK button, the proxy server adds one or more additional
    mappings. To see the mappings, click the link called View/Edit Mappings.
    Additional mappings would be in the following format:
    from: /
    to: http://http.site.com/

    thanks, will verify and update the docs.
    rahul.

  • The best way of Setting up a proxy server

    Hi all, im a student and i got asked to help set up a proxy server. The campus gave me an v20z server and now i am wondering whats the best sortware to use as an os and what other apps i should load onto it?
    Please advise

    You are right, company should provide the access to the webmail iNotes, then you can use the instruction at www.nokialotusnotes.com. However, Setting up Lotus Notes on Nokia Messaging is not easy like others email account! And in most cases your will get your iNotes on the mobile but out of Nokia Messaging, whcih means out of synchronization.

  • How to set a Proxy Server for appletv

    The network I'm on requires that I set a Proxy server to get out to the internet.
    Is there anyway to specify a Proxy server for AppleTV?

    Hi Red-Baron,
    The Apple TV does not support Proxy Server configuration (http://docs.info.apple.com/article.html?artnum=305010). An alternative is to enable internet sharing on a computer and have the Apple TV connect to that computer.
    Regards,
    John

  • CRM 2013 - How to set a Proxy server for plugins to run with?

    We have several plugins that need to query web services on the Internet, and I need them to go through a specific proxy server.  How do I set this without hard coding the proxy into the plugins?  I've tried adding the proxy to the machine.config,
    I've updated the web.config in the CRMWeb folder, I've even added the proxy to IE under the users used by the App Pool Identity then used netsh winhttp to make this a system proxy.  None of these have allowed my registered plugins to access the internet.
    Any thoughts?  Thanks.

    The way I'd do it is to not rely on .config files, but instead set it programmatically in the plugin, and either store the proxy configuration data in the configuration string for the plugin registration step, or store it in some custom configuration entity
    in CRM
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • After a Network Attack where the Proxy Server was enabled, disabling it still leaves page components missing with "Declaration Dropped" in Error Log. What other setting was changed?

    A fake security program claimed corruption, and when it was
    deleted it left both FF and IE with the Proxy Server enabled.
    When the Proxy was disabled, IE works but FF is failing to
    display many page components. Warning in the Error Console have
    problems with some HTTP text and then "Declaration Dropped".
    What other setting has been changed?
    Is there a log of Changes to the Settings?
    Shouldn't Changes being confirmed?

    cor-el,
    >...>Resetting all the parameters back to their defaults cleared the problem, but it did '''NOT''' point out which setting was changed to cause the problem. (It is like picking up some of those bed-bugs and then burning down your house to get rid of them.)
    >...>The "master-reset" also does not save a copy of what the setting were so all the problems solved in the past by a settings change will have to be revisited. If it doesn't make a ''prefs-<n>.js'' file, it would have been nice if you would have mentioned it, so one could have been made manually.
    >...>The other advice you give would only be helpful if the agent changing the settings was still present. Which it was not. Clearing all the Cookies means alot of re-entry of info for sites using them properly. So you shouldn't recommend it when there is no indication of an on-going problem. And certainly not without warning of the consequences.
    You seem very active on this site, but you have not defined any contact information. Are you a developer? If not, are these problems monitored by them? Are do we have to go to MOZILLA.ORG and submit information there?

  • Set Up Proxy Server on OSX Mountain Lion Server.app

    Hi,
             Can anyone help me on how to set up a proxy server or forward proxy on OS X Mountain Lion Server.app? without using Squid
              a step by step instruction would be helpfull
    Thank you
    Regards
    a.w

    There is no way to set up a proxy server in Server.app. For generic instructions, see, for example, this:
    mod_proxy - Apache HTTP Server

  • How do I set up an email address from a proxy server?

    How do I set up an email account on mu phone that has a proxy server?

    These steps typically resolve the issue:
    1. Press the ePrint button on the printer's front-panel screen (top row of icons, far left button), then press "Print Report".
    2. Head over to the ePrintCenter website (http://www.eprintcenter.com/), and log in (or sign up for a new account if you don't have one).
    3. Click the "+Add Printer" button and enter the printer code from the ePrint info page (“Print Report” page from step 1). Create a customized ePrint email address.
    I just viewed the website on my computer, and it appears to be working okay on my end. It's possible that there's a setting in your web browser responsible for what you're seeing. I would recommend trying the following steps:
    1. Try to view the site in a different web browser to see if that's the issue. Normally, Internet Explorer, Google Chrome, Firefox, and Safari all display the website properly. Try one or two of those (other than the one you've been using) and it should do the trick.
    2. If that doesn't work, try resetting Internet Explorer's default settings by clicking "Tools" (on the top menu bar), "Internet Options" (usually at the bottom of that list), "Advanced" (far-right tab), and "Reset" (towards the bottom-right of that box). After resetting the defaults, try viewing the ePrint Settings area again.
    If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • "Setting up ISA Proxy Server" White Paper

    Hello
    I'd like to receive this white paper "Setting up ISA Proxy Server" as mentionned in "SAP_BPC_70_SP03_M_Install.pdf" guide.
    Can someone send it to me ?
    Thanks

    You can find the Microsoft ISA Server whitepapers here:
    [http://www.microsoft.com/forefront/edgesecurity/isaserver/en/us/white-papers.aspx|http://www.microsoft.com/forefront/edgesecurity/isaserver/en/us/white-papers.aspx]
    SAP also has a blog on ISA Servers here:
    [/people/kishor.gopinathan/blog/2008/07/12/isa-server-as-reverse-proxy-for-sap-applications|/people/kishor.gopinathan/blog/2008/07/12/isa-server-as-reverse-proxy-for-sap-applications]

Maybe you are looking for