When i using composer, node, npm, ionic, and other frameworks to install or update some packages, it will checking for the resources availbility on server and it take so long even your network is okay for opening website like Google and YouTube.
Solution is update your dns-nameserver using default DNS that your router get from the ISP. Some people still using 8.8.8.8 or 8.8.4.4 as the dns-nameserver configuration.
For the primary DNS you can set with 192.168.1.1 (your network gateway) and let the router retrieve the default DNS from the ISP. For the second DNS you can set with Google DNS or else.
Some command to check your network:
# ifconfig (Linux) / ipconfig (Windows)
Tidak ada komentar:
Posting Komentar