![]() |
ping works but chrome not connects?
When I type 192.168.7.2 in file explorer address bar it connects to the connected portable device. Also ping 192.168.7.2 works OK without loss but when I type 192.168.7.2 in chrome address bar I get "connection refused". Firewall is off and no proxy is used. Any idea how to get around this?
|
Hi,
I think it doesn't use the same protocol : "file" vs http Use WireShark to understand |
Samba != ICMP != HTTP. Different ports hosting different services are available on a system. The web server can also be misconfigured or have its own security etc...
|
in windows explorer use \\ip\c$
\\192.168.7.2\LetterOfYourDevice$ |
Quote:
The security risk is anyone can create a webpage with a link to local files on your hard drive. If not disabled then it would mean that attackers would be able to even link to and run any executables on your PC from the internet through the browser when you visit an arbitrary web page. This used to work in the past to enable links in browser to local files. It may or may not work with modern versions of the browsers: Code:
https://github.com/tksugimoto/chrome-extension_open-local-file-link |
Quote:
Quote:
However here he said connection refused, not a 400 unauthorized which would be the correct and likely behavior for a properly configured web server. Hope I've taught our greenhorn friend here some web dev info so they can provide more accurate responses in the future |
Quote:
There is no web server involved. @agoo is trying to access his LOCAL DEVICE files with his browser and asking why it fails. I have provided the answer. CORS is something totally different. Stop trying to put down people with high-sounding terms without understanding their meaning first... |
Quote:
|
\\localhost\d$
|
Quote:
1.what is the portable device? NAS? 2.what do you type? What is your OS?(win?) File explorer : \\192.168.7.2? Chrome: http(s)://192.168.7.2 ? or file://192.168.7.2/sharefolder ? (must have sharefolder) 3.what do you want? |
Meanwhile... I think @agoo solved his problem.
|
Quote:
|
Quote:
|
| All times are GMT +8. The time now is 18:18. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX