0

I am new to Ubuntu. I am developer and working with maven3. I am unable to download dependencies from this site.

When I tried in Windows it was a 404 exception but when I stopped my anti-virus it was working fine. I tried the same in Ubuntu but still no luck.

I have tried running sudo ufw disable but still no luck.

Please help me in solving this.

Aditya
  • 13,416
Krish
  • 1
  • Can you post the output of sudo ufw status? – Devendra D. Chavan Feb 23 '13 at 06:54
  • And have you made any changes to your firewall settings? –  Feb 23 '13 at 06:56
  • If you think it is the firewall, try this command: sudo iptables -L It will list all rules you have. – McNisse Feb 23 '13 at 07:05
  • I do not think Ubuntu firewall would block you from downloading files from some website. Unless you previously changed its configuration to do that. – Sergey Feb 23 '13 at 08:06
  • I dont know what to do...please let me know if you need further details ..which can solve my issue...Thanks in advance... – Krish Feb 24 '13 at 04:21
  • I haven't made any changes to the firewall...I think there have been some updates installed ..with that there might be change in the settings..but I am not sure..But when i am trying to open thie below link in windows it was opened after disabling the anti virus..repo.maven.apache.org/maven2/org/mortbay/jetty/… ..So i think the same thing applies here..The status of ufw is inactive...krishna@krishna-System-Product-Name:~$ sudo ufw status [sudo] password for krishna: Status: inactive – Krish Feb 24 '13 at 04:28

2 Answers2

0

If the problem is related to the firewall then you can verify it by temporarily turning off the firewall by using sudo iptables -F . Alternatively you can also try sudo service ufw stop.

Furthermore, sudo ufw status should give the status of the firewall and sudo iptables -L should list all the rules. UFW is front end for iptables.

More information

0

you can do it with ufw

for help about it just do

ufw --help 

and you can see that to disable it you can do:

ufw disable
Mostafa Shahverdy
  • 5,082
  • 2
  • 21
  • 34
  • Still the same i am unable to open this url..http://repo.maven.apache.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.20/maven-jetty-plugin-6.1.20.pom – Krish Feb 24 '13 at 04:25
  • If you have stoped firewall then your question has been answered. May be firewall is not the problem . – Mostafa Shahverdy Feb 24 '13 at 05:01
  • Shahverdy, Then what is blocking me to open the below link? any suggestion? http://repo.maven.apache.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.20/maven-jetty-plugin-6.1.20.pom – Krish Feb 24 '13 at 05:19
  • What sites are you able to see? – Mostafa Shahverdy Feb 24 '13 at 05:20
  • I could see http://search.maven.org but not able to see http://repo2.maven.org/maven2/org/ – Krish Feb 24 '13 at 05:40
  • try to sudo iptables -L and give us the output ... – Mostafa Shahverdy Feb 24 '13 at 07:31
  • krishna@krishna-System-Product-Name:~$ sudo iptables -L [sudo] password for krishna: Chain INPUT (policy ACCEPT) target prot opt source destination

    Chain FORWARD (policy ACCEPT) target prot opt source destination

    Chain OUTPUT (policy ACCEPT) target prot opt source destination
    krishna@krishna-System-Product-Name:~$

    – Krish Feb 24 '13 at 08:32
  • Your problem is not firewall. there is no rules that ban you from accessing that page. – Mostafa Shahverdy Feb 24 '13 at 09:35