Manualy configure proxy settings?

Hi
I'm currently developing a java application that will enable me to download HTML documents from various web sites and save them to a file. When downloading pages from my university intranet it works fine, however when i try to access pages from outside the university intranet i get an error page telling me my browser is incorrectly configured. I know i need to enter the proxy host and port number into my java application code, but i am unsure how to do this. Any one out there with any bright ideas?
Cheers in advance for any help
Rob

Hi ,
You wull have to set it as system property.
java -DproxySet=true -DproxyHost=hostadd -DproxyPort=portno <class-name>
I hope this helps.

Similar Messages

  • Configure Proxy Settings on my iPod Touch

    I am trying to connect my iPod Touch to the wireless network at work but we have proxy settings on the connection.
    Is it possible to configure proxy settings on my iPod? If so, how?
    Thanks

    Hello, 
    You need to contact the IT staff at your work to find the server address and port number (and your username and password if applicable). Then enter them in under Setting on the iPod.
    mrtotes

  • Configure proxy settings for WebEngine

    I had no luck in finding any docs about how to configure the proxy server for a WebView/WebEngine.
    I assume the system properties "http.proxyHost" and "http.proxyPort" are used if they are set, is this correct?
    Is there also a way to configure the proxy settings for each WebEngine instance?
    Regards,
    Heiko

    I am also getting this "error".  The printer (8500 A910) connected to the web well enough that it went out and supposedly downloaded a new update, but then it was supposed to print a page showing the email address, but did not.
    So I go in and try to set up the eprint, and it tells me it cannot connect to the sever and I'll need to enter a proxy address and port number.  But my ISP's cable modems do NOT have any static IP address nor do they provide any sort of proxy service.  Everything works just fine with "automatic discovery" (DHCP) for every computer in the house.  No problems there.
    So, since  that's the case, of course I cannot look up some proxy address and port number in my web browser because they're all set up for "automatically detect settings".
    What's baffling is that the printer connected to something at HP to download the "update", and it went through a process that appeared to be what I'd expect it to do if it was updating its firmware.  But it won't connect to whatever it's supposed to connect to to have an email address assigned.
    Does HP supply a proxy server?  If so, what's its IP address or URL, and what port should a person set the printer to try to use?
    UPDATE:
    It appears that the HP site must have just been "down" for about six or seven hours while I was trying to get the printer to connect because it now connected and I got an email address asigned without needing to have any "proxy" stuff set up at all.  It's a shame that the printer does not simply report "HP Site down - try again later" instead of reporting that you need to use a proxy when that's impossible.
    "Now, on to the next problem which is that my emails to the assigned address are all bouncing with a "550 5.7.1 Command rejected" error!

  • "Make proxy settings per-machine (rather than per user)" Group Policy setting not applied until login as a local Administrator

    We want to deploy to all our desktop the pac file to configure proxy. We have a Windows 2008 R2 server, and i've enabled the GPO "Make proxy settings per-machine (rather than per user)", and i've add a registry key AutoConfigURL in "HKLM\Software\Microsoft\Windows\Current
    Version\Internet Settings" with the pac file link.
    I've tested on my pc, and all was configured without any problem. I've try to login to my computer with another user (without admin rights) and the automatic configuration proxy was compiled and not modificable. It's seems that all works.
    But, our users are not local admin, so i've tried to deploy the GPO in a collegue computer. I've forced the update of GPO, checked on registry that all new keys are added, and i've reboot the pc. When i've check on IE settings, autoconfig URL was empty and
    grey. I'm disconnected from user and i've login to the pc with a local admin. With my surprise, the IE settings was compiled. When i'm come bac to the user profile the IE settings was compiled and not modificable.
    The problem is: i've over 750 users in 3 countries, and i don't want grant them the local admin permissions. How can i configure proxy settings via GPO without login to every machine at least one time?

    > have a Windows 2008 R2 server, and i've enabled the GPO "Make proxy
    > settings per-machine (rather than per user)", and i've add a registry
    > key AutoConfigURL in "HKLM\Software\Microsoft\Windows\Current
    > Version\Internet Settings" with the pac file link.
    In the past, we experienced various issues with machine proxy settings,
    so we don't use them anymore. The simple approach:
    Block access to the connections page through ADM template settings and
    deploy the proxy through GPP Internet Settings.
    This is what we do (with a pac file, too), and it works well :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How Can I pre-configure the proxy settings in Acrobat 8?

    We use a proxy server to authenticate users and it's causing a problem for our e-licensing. Is there a place to pre-configure the proxy settings / login and password for the e-licensing to happen quietly so our users don't have to see it?

    Have you searched the forum for proxy? I do not have an answer, but this has been discussed before. I am not sure there is an answer in the discussions, but it is worth a try. There is likely a knowledgebase article on the issue also. Good luck.

  • ProxySelector does not pull proxy settings from configuration file?

    Hi everyone,
    I try to use class ProxySelector to find proxy settings on Windows XP. When a proxy server URL and port is set explicitly in the "Internet Options" control panel, this proxy setting is detected by class ProxySelector - no problem.
    When a proxy configuration file is set in the control panel, class ProxySelector returns no proxy setting (i.e. DIRECT) - PROBLEM
    (yes, the configuration file works otherwise, i.e. the proxy is pulled when using Firefox or Internet Explorer
    and yes, the proxy works too, i.e. when using the proxy url and port directly, HTTP can be used in Java too).
    Does anyone have a hint on how to find out the proxy server url and port to use for HTTP out of Java, when the proxy is set through a configuration file as described above?
    Thanks a lot for any help
    Ulrich

    Hi again,
    I found a solution in the mean time: ProxySelector does return the local "browser settings" for a proxy server (i.e. proxy type and address) when an application is started with Java Web Start. When started with Java Web Start, a correct proxy type and address is also returned, when a ".pac" file is set in the browser settings.
    So, when an application needs to determine a proxy configuration, although it might be started locally one needs to create a JNLP file and launch respective application (locally) using Java Web Start.
    Ulrich

  • Iphone configuration Utility Wifi proxy settings

    Hy Guy's
    I have a simple question,
    I have configured an ipad with the iphone configuration utility. Everything works fine, but the proxy in the wifi Policy doesn't appear on the device.
    It makes no difference if i choose Manual Proxy or Automatic Proxy, there is no Proxy on the Device!
    I read in other Forums tht this is a known Bug by Apple but this threads ar e 2 Years old...
    Is there a solution for this?
    Thanks and best Regards

    Your post is not going to be seen by the Apple Engineers. This is a users forum. You should contact Apple Technical Services directly.
    There is a new version of Apple Configuration Utility that just came out in the last two weeks. Manually setting the proxy settings isn't really very hard to do so I'm not sure what the concern is.

  • Use System Proxy Settings - when this is selected in FF v3.6.6, does it adhere to the same local IE proxy setting? We use a pac file configured in "Use automatic configuration script."

    Does anyone know what Firefox looks at locally on the PC when the "Use System Proxy Settings" setting is selected? It appears to be the default setting, recently changed from "No Proxy" of versions past...
    Our company uses a pac file specified in IE under "Use automatic configuration script" - with this new default, does it adhere to the same setting in:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

    I may be wrong but I think that the "Use System Proxy Settings" makes sense only on Linux and generally speaking "other OSes". As far as I know there is no generic proxy settings in Windows operating system.
    The one I know is in the registry part of Internet Explorer.
    So in my understanding in Windows, Use System Proxy Settings = No Proxy

  • IOS 5.1 or iPhone Configuration Profile 3.5 for Windows has not fixed the issue with apply Proxy Settings

    iOS 5.1 or iPhone Configuration Profile 3.5 for Windows has not fixed the issue with apply Proxy Settings via a Configuration Profile. Has anyone else got the same issue? Are Mac users got this issue?

    This seems to be working for me now but will keep monitoring it the next couple of times I use it to make sure its not a one time thing

  • Where can I read the proxy settings Firefox chose, when configured to use "Auto-detect proxy settings for this network"?

    I would like to set my system network proxy settings to those, Firefox chose. Firefox is configured to use "Auto-detect proxy settings for this network" and this works fine. How can I read out the settings Firefox chose, so I can adapt these system?

    Hello Richard,
    Download MozBackup and make a backup of your bookmarks and passwords. Uninstall firefox and remove ALL folders with the name "Firefox".
    Install Firefox and restore your bookmarks and passwords. Now you should have a fresh install so you have to make all settings again.

  • How to use proxy settings for one website

    Hello,
    I have to access the only one website using Proxy settings and for others I don't need proxy to access. Is there a way to configure the internet settings to allow one website using Proxy... Please advise. Thanks!
    Regards,
    Aravin S

    I am also getting this "error".  The printer (8500 A910) connected to the web well enough that it went out and supposedly downloaded a new update, but then it was supposed to print a page showing the email address, but did not.
    So I go in and try to set up the eprint, and it tells me it cannot connect to the sever and I'll need to enter a proxy address and port number.  But my ISP's cable modems do NOT have any static IP address nor do they provide any sort of proxy service.  Everything works just fine with "automatic discovery" (DHCP) for every computer in the house.  No problems there.
    So, since  that's the case, of course I cannot look up some proxy address and port number in my web browser because they're all set up for "automatically detect settings".
    What's baffling is that the printer connected to something at HP to download the "update", and it went through a process that appeared to be what I'd expect it to do if it was updating its firmware.  But it won't connect to whatever it's supposed to connect to to have an email address assigned.
    Does HP supply a proxy server?  If so, what's its IP address or URL, and what port should a person set the printer to try to use?
    UPDATE:
    It appears that the HP site must have just been "down" for about six or seven hours while I was trying to get the printer to connect because it now connected and I got an email address asigned without needing to have any "proxy" stuff set up at all.  It's a shame that the printer does not simply report "HP Site down - try again later" instead of reporting that you need to use a proxy when that's impossible.
    "Now, on to the next problem which is that my emails to the assigned address are all bouncing with a "550 5.7.1 Command rejected" error!

  • How to make proxy settings in solaris 10 i386

    Dear Sir,
    I need your help in making proxy settings in solaris 10 x86, as well as on SPARC.
    i installed on virtual machine, and later i wanted to do the same on M4000 server. please help.
    Why I need to set proxy?
    I am on a co-orporate network, and it requires proxy to use internet to download packages for sun directly from sun machine.
    What package I want to download?
    I want to dowload CUPS to configure LINE PRINTER(ALIS5180).
    What did i do to configure line printer?
    1, i installed sun solaris 10 on a dell server to make it as a "print server"
    2, with the print manager I configure "alis5180"
    3, give the print command to test the printing.
    4, I did not got success, coz it is not printing the document i want, it is printing junk.
    5, i clear the cache of alis5180 printer.
    6, reset all the emulations ANSI, IBM Proprinter III XL, Epson FX-1180, Printronix® P600 & P 5000/6000, DEC® LG01, HP 2564C, Tally line/dot matrix printer, Epson FX 1180,
    MTPL, contextual arabic, Twinax (IBM 4234/4210/5225)/Coax(IBM4234), HP LineJet HPLP Series, HP 256X no success.
    Conclusion:-
    This is why I want to configure cups. and I need internet access on the print server to download the this package, and it require internet connection.
    Regards,
    Mky
    Edited by: user9007339 on Jan 22, 2012 3:29 AM

    You could try the Dell site, but I doublt if they will have a driver for Solaris, Linux maybe but not Solaris. Otherwise try the DriverGuide web site. http://www.driverguide.com/
    You could also try installing OpenSolaris if you don't specifically need Solaris 10. Better chance that OpenSolaris will support the NIC.

  • Proxy Settings Re-Appear after Reboot in Registry Post Malware Clean (Windows 8.1 x64)

    Hey Guys - 
    My main system at home hosts many different things for me.  Because I'm an idiot and had protection disabled, I caught some malware which I cleaned off soon
    afterwards.  The malware was listed as Trojan.Generic.KD or something similar.  It had enabled Proxy and set it to 127.0.0.1:58054.  I ran Malwarebytes, Spybot, then ExecuteIt to clean the malware off and currently the scans from all 3 apps
    come back clean.  I also had to manually disable proxy via IE settings.
    I have one specific app which for whatever reason will use Proxy settings if they are there over anything else and doesn't offer and configuration to disable it.
     Even though proxy is disabled (and cleared) in IE, this app still doesn't work and I still seemingly get redirected to ads in Chrome sometimes.  The log file of the app showed it was trying to connect through 127.0.0.1:58054.  The thing is,
    IE Settings still show Proxy disabled!
    The Issue
    I checked many things are read a few articles to try to fix this including different Windows 8.1 settings, local Group Policy, startup items, checking Run keys
    in HKLM and HKCU for "out of place" entries, and more.  Finally, I opened the registry and did s keyword search for ":58054" and found one key with it.  I cleared out all of the data and set the EnableProxy string from "1"
    to "0", rebooted, and tried again but the app still failed with the same log message.  I went back into the registry and found out that the strings I changed had all been changed back!  Below is the key / strings I'm talking about which
    are located in HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings.  It's odd because I usually deal with HKLM and HKCU and don't think I've ever worked in ".DEFAULT" on any system ever before.
    I know that a full OS re-install is suggested - and I actually do it every 3-4 months religiously - but - I currently don't have the time for the full day it
    takes to perform due to how many things it hosts.
    Any ideas on how I can get this to stop coming back after each restart until I can perform the re-install?  Below are the system specs.  Thanks!
    System Specs
    - Intel i7-3770k / 16gb RAM
    - x3 partitions  256gb SSD for OS & Apps  /  24tb Disk Pool for Storage  /  500gb Hybrid drive for App installs
    - Windows 8.1 Update 1 x64 (Fully Patched)
    Thanks again!
    Ben K.

    Hi,
    .default is the profile for the Local System account and is an alias for
    HKEY_USERS\S-1-5-18, Consequently, settings in HKEY_USERS\.Default are used by programs and services that run as Local System.
    In addition to HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings, please also check HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings and HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings, make sure all proxy server disabled, then press F5 to refresh registry, check the application, if the issue disappears, the the registry entry is the culprit. Then please reboot the PC, if the issue appears again, the virus is not cleared in your
    system. In this case, please try other virus clean program if possible, meanwhile, check if there're unknown software installed in your system.
    Yolanda Zhu
    TechNet Community Support

  • Steps to apply Proxy settings for all Server in a specific OU using Group Policy ?

    People,
    I have several terminal server (2008 R2) running as RDSH in an OU called Terminal Servers.
    So how can I create the GPO setting to make sure that everyone who login to this terminal server will be getting the proxy settings automatically to proxy.domain.com on port 3128 ?
    I've created the GP object and then link it directly to the Terminal Servers OU using the following options:
    User Configuration (Enabled) > Policies > Windows Settings > Internet Explorer Maintenance >
    Connection/Proxy Settings > Enable proxy settings 
    But somehow when I login as myself and DOMAIN\Administrator the proxy settings in the IE11 is still unchecked with the old Proxy value and sometimes blank in some servers.
    /* Server Support Specialist */

    > I've created the GP object and then link it directly to the Terminal
    > Servers OU using the following options:
    >
    > User Configuration (Enabled) > Policies > Windows Settings > Internet
    > Explorer Maintenance >
    > Connection/Proxy Settings > Enable proxy settings
    User policies apply to user objects - the servers will ignore them, and
    as long as there is no user in your terminal servers OU, no one will get
    this setting.
    Link your policy to the OUs where the users are, then use item level
    targeting to filter for a security group you create for this purpose,
    and add all your terminal servers to this group. Don't forget to reboot
    the servers after changing group memberships...
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:
    Martin,
    Since the browser in the Terminal Servers are all running IE 11, do I need to do the GPO using IEAK or GPP with the new ADMX template ?
    /* Server Support Specialist */

  • How to access proxy settings in terminal

    I want to use git in the terminal, but unfortunately I'm sometimes (but not always) behind a firewall that requires me to use a proxy server.
    I've successfully set up environments for all these locations, including the proxy settings that are relevant in each context, but I'm unable to access them in the terminal (i.e. there's no HTTP_PROXY environment variable). My idea is to 'inherit' the system wide proxy settings in the terminal and use them to configure git.
    Is there any way to access the proxy settings in the terminal.

    In you home directory, create a file called .bash_profile (notice the leading dot)
    nano .bash_profile
    add to that file
    export HTTP_PROXY="http://your.proxy.information:nnn"
    Save the file
    Restart the Terminal session.
    Command line Git should work via the environment variable you just created.
    NOTE: you will need to use
    ls -a
    to see the .bash_profile in a Terminal session, and because the leading dot makes it an invisible file, the Finder will not show it without some magic Finder Foo

Maybe you are looking for

  • Upgrade to snow leopard

    i am running a black macbook with the software OS X 10.4.11... it is a dualcore2 with 2 gigs of ram. when i click on "software update" in the finder menu, it tells me that my computer software is up to date. i called apple to ask one of the tech supp

  • E-mail is marked as phishing attempt

    Hi. We have an issue that some e-mails from our internal system that are sent through Rackspace Exchange are marked in Outlook 2007 as phishing attempts. Could you please advice me why? The header from one of such "phishing" e-mails is: Received: fro

  • Blurry font in mail

    I just switched from a 2008, 17inch MacBook Pro to a new 15inch MacBook Pro. I'm finding that while in mail, some of the fonts become blurry and bold when they are in the background (not being used). Once I click the message or highlight the text...i

  • Opening PDF files downloaded from IE 7

    Whenever a new PDF file is downloaded via IE 7 my Adobe Reader will not open it and I receive an error msg. indicating that a version of Adobe Reader is alaready running with directions to close the app.

  • Stroke won't appear in Illustrator 6

    I'm trying to apply a stroke to a .jpg image in Illustrator 6, and even though the weight and color show in the windows, the object itself has no visible stroke.  Help!