Find the answer to your Linux question:
Results 1 to 2 of 2
in .bashrc file i added the following line. export http_proxy="http://my username:my password@ip address:3128". after this i could able to access internet through my fire fox browser. but in console if ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    24

    i dont know what is the problem i m getting

    in .bashrc file i added the following line.

    export http_proxy="http://my username:my password@ip address:3128".

    after this i could able to access internet through my fire fox browser.

    but in console if type the following command. it is saying bad prot number and terminating.

    # wget http://netweb.usc.edu/huang/talk/ns-...s-berkeley.ppt
    Error parsing proxy URL http://my username:my password@ip address:3128 : Bad port number.

    what is the problem. with the above settings i m getting internet with fire fox browser but not from console. why??????

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    It's hard to know the answer when you substitute in fake values (which I don't blame you for; I wouldn't share my password either).

    So: Do you have any special characters in that password? Some special characters (e.g. #) will confuse wget when he tries to parse http_proxy.

    If so, change your password to something else with only letters and numbers temporarily. Once you have identified the offending special character, you can change it to a strong password again (and avoid that specific character).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...