Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am using Ubuntu 14.04 LTS
Without doing anything issue started all of sudden and stopped accessing websites from browser
Some websites are working and some are not even google not working
I am able to access stack overflow(But only first page and getting error at top "Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load. Retry using another source."), amazon, flipkart from browser but not any banking websites and shows below error
"This Site Can't be reached"
Unexpectedly closed the connection
Try:
Checking the connection.
Checking the proxy and the firewall
ERR_CONNECTION_CLOSED
Till now I tried with below things
Uninstalled & installed Google Chrome
Tried to update certificates in ubuntu
Please follow the following steps.
01. Open Terminal (CTRL+ALT+T)
02. cd /etc
03. Search for "Resolv.config"
04. Copy "Resolv.config" name
05. Type sudo nano resolv.config and enter
06. Add comment i.e "#" before nameserver
07. Now add these two nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4
08. Press Ctrl+X and press Y then hit enter
09. Now restart the network manager by this command
sudo service manager-network restart
NOW THE NETWORK WILL RESTART.
10. Use any browsers and you can check.
HOPE THIS WORK!
If this not working follow this article. Sometimes will help this is for you. This site can't be reached Error
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to connect Winscp with virtual machine. I'm working on Windows,and this problem is killing me for 5 hours. Studied a lot of examples, but I can't find out what is the problem. I tried to connect with putty to, but connection is every time refused. Tried to connect with every protocol, but didn't help. I even can't install ssh into Ubuntu, because something is blocking but not firewall(failed to fetch us archive ubuntu com). Port forwarding too wasn't very helpful.
1st Adapter is NAT, and second host-only.
Problem is that I need to enter home directory, and add some files, so I'm trying to find the easiest way to do this.
I would really appreciate any help. Here is my ifconfig, ip a, and interfaces picture.
1
Thanks!
Use the following step to configure.
1- Run ipconfig /all on your windows machine and see which ip are assigned to your virtual adopters.
2- Assign the same range ip to your virtual machine. For example:
If on virtual adopter ip is: 192.168.130.1
Then assign ip to your vm as: 192.168.130.*
and set gateway to : 192.168.130.1
and restart the service network and check the reachability by pinging from both side.
3- If You able to ping then you will be able to use internate on your VM. Then install the ssh.
Now you will be able to use.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
So I am learning Django and instead of trying to set everything up on Windows, I set up a Ubuntu 14.04 Server VM and set everything up there. I've set the Network mode to Bridged. I am able to SSH into the VM and everything works fine on that end. I followed this guide: https://github.com/makrandgupta/pyladies-django-workshop and was able to get through the installation process. I run the final command and the program tells me that the server is up and running. When I try to access the guest's IP from my browser on my host, I just get a Connection Refused Error. I had tried it with another linux installation and there I was able to access the website from the browser inside the guest but not from the host. I thought it would be an issue with the distro so switched to Ubuntu Server and having the same issue with it.
Any idea what I'm doing wrong?
If you are accessing the site from another server, then python manage.py runserver will not work. You could specify the actual ip of the server, or use 0.0.0.0.
python manage.py runserver 0.0.0.0:8000
See the question About IP 0.0.0.0 in Django for more info.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm trying to install cmake at my CentOS 6.2, but for some reason i get this error message :
Resolving www.cmake.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address “www.cmake.org”.
This is the command i wrote :
wget http://www.cmake.org/files/v2.8/cmake-2.8.3.tar.gz
This is probably old, but here is how it worked for me:
1. Comment out the IPV6 properties on /etc/sysconfig/network-scripts/ifcfg-eth0
#IPV6_AUTOCONF=yes
#IPV6INIT=yes
2. Restart your network service.
service network restart
Then wget worked like a charm ;)
Yes. In my case this was because of wrong entry of DNS server in my local "/etc/resolv.conf".
I have added the proper entry in "/etc/resolv.conf" and then restarted the netwrork using "# service network restart".
Then I was able to use "wget".
Thank you very much.
I know I am necro-posting, but, I found a solution to this, and the solutions is that, you may have set-up a static ip which is not working in Raspberry Pi (basically it doesn't have internet access), So, removing the "ip" line from "/boot/cmdline.txt/" seems to helped me.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am trying to access my office vpn through their provided opvn file with my linux (ubuntu 14.04 LTS) laptop, but it is failing with following error:
Wed May 6 22:36:55 2015 /sbin/ip route add xxx.xxx.xxx.xxx/16 via yyy.yyy.yyy.yyy (actual ips hidden here)
RTNETLINK answers: Invalid argument
Wed May 6 22:36:55 2015 ERROR: Linux route add command failed: external program exited with error status: 2
The error repeats for many different ips.
It does work through our windows 7 computer so it must be some configuration issue on the linux machine. And I would like some help to fix this.
I am running openvpn through the terminal with a script doing the following:
1) change nameserver to company nameserver (sudo sed -i "s:127.0.0.1:xx.xx.xx.xx:g" /etc/resolv.conf
2) sudo openvpn --config /etc/openvpn/my_vpn_file.ovpn
I have been able to figure out that there probably somehow are multiple connections to the vpn..? So I guess the start would be to find and remove that/those other ones, but how?
(I am not a complete novice in the linux world, but in the network/routing world - and stackoverflow!)
Thanks in advance!
The problem is with your route command:
/sbin/ip route add xxx.xxx.xxx.xxx/16 via yyy.yyy.yyy.yyy (actual ips hidden here)
RTNETLINK answers: Invalid argument
Something about that is fishy -- but, lacking the IPs, I can't say what exactly. However, since you're using a /16, that means that these are private IPs (RFC 1918), which means they are meaningless for helping someone identify who you are, so I strongly recommend you edit your initial posting with the real IPs. I'm imagining there's overlap or something.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have installed Internet Information Services on windows and Apache on "Ubuntu" using apt-get command to install . "Ubuntu" is being run in my virtual box. now i want to connect these two computer together for which i opened fire fox on Ubuntu and entered my windows "IP address" in the address bar .windows firewall is off.
i ran # /etc/init.d/apache2 start to start Apache as well
Result: link of Microsoft.com/web with a huge IIS 8 on the page .what is wrong ?how can i fix this?
I don't really get what you are trying to do, but when you write the IP of a computer running either IIS or Apache, you should see a home page, probably the default one if you had never change it.
What are looking forward to do exactly?
In IIS the default html file is located in c:\inetpub\wwwroot\index.html
In Apache you should find httpd.conf file, it has the route to the default website, which probably is /www/index.html or something like that