Can you connect to a LAN IP from Chrome?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
A program I'm developing connects directly over the LAN between 2 computers. Sometimes, a user will have 2 computers on different networks, so the computers won't be able to connect to each other (or ping each other). I want to give the user the possibility of testing this LAN-to-LAN connectivity before downloading and installing the main program.
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser? This would also involve detecting the local IP address.
My hunch is that Chrome (and other browsers) won't provide this sort of access to the OS (i.e. with JavaScript or an extension), but maybe there's an alternative (dare I say, a Java Applet, if that's still a thing). A bonus would be if this could work on Windows, macOS, and Linux.
Any ideas?
google-chrome networking browser ping lan
add a comment |
A program I'm developing connects directly over the LAN between 2 computers. Sometimes, a user will have 2 computers on different networks, so the computers won't be able to connect to each other (or ping each other). I want to give the user the possibility of testing this LAN-to-LAN connectivity before downloading and installing the main program.
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser? This would also involve detecting the local IP address.
My hunch is that Chrome (and other browsers) won't provide this sort of access to the OS (i.e. with JavaScript or an extension), but maybe there's an alternative (dare I say, a Java Applet, if that's still a thing). A bonus would be if this could work on Windows, macOS, and Linux.
Any ideas?
google-chrome networking browser ping lan
Ping is an application, just like Chrome is an application.
– Ron Maupin
Nov 16 '18 at 14:35
Indeed, this is an example. Maybe it's possible to create a socket for another computer to listen to? What about querying the IP address or hostname? Any ideas?
– Nick Bolton
Nov 16 '18 at 14:38
Does it have to be Chrome? Can you just create a process to ping the other computer?
– Ron Trunk
Nov 16 '18 at 20:15
The user downloads the app from a web browser, so it'd be more seamless if they didn't have to install a program or run a process manually. It'd be great if I could run a Chrome extension that creates a TCP socket or something...
– Nick Bolton
Nov 16 '18 at 21:20
@RonMaupin Maybe Chrome Sockets? developer.chrome.com/apps/sockets_tcp
– Nick Bolton
Nov 16 '18 at 21:23
add a comment |
A program I'm developing connects directly over the LAN between 2 computers. Sometimes, a user will have 2 computers on different networks, so the computers won't be able to connect to each other (or ping each other). I want to give the user the possibility of testing this LAN-to-LAN connectivity before downloading and installing the main program.
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser? This would also involve detecting the local IP address.
My hunch is that Chrome (and other browsers) won't provide this sort of access to the OS (i.e. with JavaScript or an extension), but maybe there's an alternative (dare I say, a Java Applet, if that's still a thing). A bonus would be if this could work on Windows, macOS, and Linux.
Any ideas?
google-chrome networking browser ping lan
A program I'm developing connects directly over the LAN between 2 computers. Sometimes, a user will have 2 computers on different networks, so the computers won't be able to connect to each other (or ping each other). I want to give the user the possibility of testing this LAN-to-LAN connectivity before downloading and installing the main program.
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser? This would also involve detecting the local IP address.
My hunch is that Chrome (and other browsers) won't provide this sort of access to the OS (i.e. with JavaScript or an extension), but maybe there's an alternative (dare I say, a Java Applet, if that's still a thing). A bonus would be if this could work on Windows, macOS, and Linux.
Any ideas?
google-chrome networking browser ping lan
google-chrome networking browser ping lan
edited Nov 19 '18 at 10:54
Moralous
81112
81112
asked Nov 16 '18 at 14:30
Nick BoltonNick Bolton
17.4k56149223
17.4k56149223
Ping is an application, just like Chrome is an application.
– Ron Maupin
Nov 16 '18 at 14:35
Indeed, this is an example. Maybe it's possible to create a socket for another computer to listen to? What about querying the IP address or hostname? Any ideas?
– Nick Bolton
Nov 16 '18 at 14:38
Does it have to be Chrome? Can you just create a process to ping the other computer?
– Ron Trunk
Nov 16 '18 at 20:15
The user downloads the app from a web browser, so it'd be more seamless if they didn't have to install a program or run a process manually. It'd be great if I could run a Chrome extension that creates a TCP socket or something...
– Nick Bolton
Nov 16 '18 at 21:20
@RonMaupin Maybe Chrome Sockets? developer.chrome.com/apps/sockets_tcp
– Nick Bolton
Nov 16 '18 at 21:23
add a comment |
Ping is an application, just like Chrome is an application.
– Ron Maupin
Nov 16 '18 at 14:35
Indeed, this is an example. Maybe it's possible to create a socket for another computer to listen to? What about querying the IP address or hostname? Any ideas?
– Nick Bolton
Nov 16 '18 at 14:38
Does it have to be Chrome? Can you just create a process to ping the other computer?
– Ron Trunk
Nov 16 '18 at 20:15
The user downloads the app from a web browser, so it'd be more seamless if they didn't have to install a program or run a process manually. It'd be great if I could run a Chrome extension that creates a TCP socket or something...
– Nick Bolton
Nov 16 '18 at 21:20
@RonMaupin Maybe Chrome Sockets? developer.chrome.com/apps/sockets_tcp
– Nick Bolton
Nov 16 '18 at 21:23
Ping is an application, just like Chrome is an application.
– Ron Maupin
Nov 16 '18 at 14:35
Ping is an application, just like Chrome is an application.
– Ron Maupin
Nov 16 '18 at 14:35
Indeed, this is an example. Maybe it's possible to create a socket for another computer to listen to? What about querying the IP address or hostname? Any ideas?
– Nick Bolton
Nov 16 '18 at 14:38
Indeed, this is an example. Maybe it's possible to create a socket for another computer to listen to? What about querying the IP address or hostname? Any ideas?
– Nick Bolton
Nov 16 '18 at 14:38
Does it have to be Chrome? Can you just create a process to ping the other computer?
– Ron Trunk
Nov 16 '18 at 20:15
Does it have to be Chrome? Can you just create a process to ping the other computer?
– Ron Trunk
Nov 16 '18 at 20:15
The user downloads the app from a web browser, so it'd be more seamless if they didn't have to install a program or run a process manually. It'd be great if I could run a Chrome extension that creates a TCP socket or something...
– Nick Bolton
Nov 16 '18 at 21:20
The user downloads the app from a web browser, so it'd be more seamless if they didn't have to install a program or run a process manually. It'd be great if I could run a Chrome extension that creates a TCP socket or something...
– Nick Bolton
Nov 16 '18 at 21:20
@RonMaupin Maybe Chrome Sockets? developer.chrome.com/apps/sockets_tcp
– Nick Bolton
Nov 16 '18 at 21:23
@RonMaupin Maybe Chrome Sockets? developer.chrome.com/apps/sockets_tcp
– Nick Bolton
Nov 16 '18 at 21:23
add a comment |
3 Answers
3
active
oldest
votes
Found this question:
Can You Get A Users Local LAN IP Address Via JavaScript?
Which has an answer linking to:
net.ipcalf.com
If you hit F12 you can look at the source code and attempt to reverse engineer it, but I recommend researching it independently as well.
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
1
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
add a comment |
This would also involve detecting the local IP address.
This Chrome extension shows your local IPs: Show My IP Addresses (External and Local)
I wonder how this works...
add a comment |
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser?
Chrome Sockets, perhaps. Though I have no idea how.
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53339811%2fcan-you-connect-to-a-lan-ip-from-chrome%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Found this question:
Can You Get A Users Local LAN IP Address Via JavaScript?
Which has an answer linking to:
net.ipcalf.com
If you hit F12 you can look at the source code and attempt to reverse engineer it, but I recommend researching it independently as well.
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
1
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
add a comment |
Found this question:
Can You Get A Users Local LAN IP Address Via JavaScript?
Which has an answer linking to:
net.ipcalf.com
If you hit F12 you can look at the source code and attempt to reverse engineer it, but I recommend researching it independently as well.
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
1
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
add a comment |
Found this question:
Can You Get A Users Local LAN IP Address Via JavaScript?
Which has an answer linking to:
net.ipcalf.com
If you hit F12 you can look at the source code and attempt to reverse engineer it, but I recommend researching it independently as well.
Found this question:
Can You Get A Users Local LAN IP Address Via JavaScript?
Which has an answer linking to:
net.ipcalf.com
If you hit F12 you can look at the source code and attempt to reverse engineer it, but I recommend researching it independently as well.
edited Nov 16 '18 at 21:48
Nick Bolton
17.4k56149223
17.4k56149223
answered Nov 16 '18 at 21:26
MoralousMoralous
81112
81112
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
1
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
add a comment |
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
1
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
Hmm, I don't know about this. Feels a bit cumbersome. It needs to be automatic, rather than making the user think.
– Nick Bolton
Nov 16 '18 at 21:27
1
1
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
I think I may have found a solution, take another look
– Moralous
Nov 16 '18 at 21:35
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
That's awesome. Excellent find, thank you so much!
– Nick Bolton
Nov 16 '18 at 21:49
add a comment |
This would also involve detecting the local IP address.
This Chrome extension shows your local IPs: Show My IP Addresses (External and Local)
I wonder how this works...
add a comment |
This would also involve detecting the local IP address.
This Chrome extension shows your local IPs: Show My IP Addresses (External and Local)
I wonder how this works...
add a comment |
This would also involve detecting the local IP address.
This Chrome extension shows your local IPs: Show My IP Addresses (External and Local)
I wonder how this works...
This would also involve detecting the local IP address.
This Chrome extension shows your local IPs: Show My IP Addresses (External and Local)
I wonder how this works...
answered Nov 16 '18 at 21:29
Nick BoltonNick Bolton
17.4k56149223
17.4k56149223
add a comment |
add a comment |
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser?
Chrome Sockets, perhaps. Though I have no idea how.
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
add a comment |
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser?
Chrome Sockets, perhaps. Though I have no idea how.
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
add a comment |
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser?
Chrome Sockets, perhaps. Though I have no idea how.
Is it possible to or connect to (or ping) one computer from another over LAN using Chrome or any other browser?
Chrome Sockets, perhaps. Though I have no idea how.
edited Nov 16 '18 at 21:29
answered Nov 16 '18 at 21:21
Nick BoltonNick Bolton
17.4k56149223
17.4k56149223
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
add a comment |
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Can someone expand on this?
– Nick Bolton
Nov 16 '18 at 21:22
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Related: stackoverflow.com/questions/22549111/…
– Nick Bolton
Nov 16 '18 at 21:24
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
Oh! Multicast... github.com/GoogleChrome/chrome-app-samples/tree/master/samples/…
– Nick Bolton
Nov 16 '18 at 21:25
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53339811%2fcan-you-connect-to-a-lan-ip-from-chrome%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Ping is an application, just like Chrome is an application.
– Ron Maupin
Nov 16 '18 at 14:35
Indeed, this is an example. Maybe it's possible to create a socket for another computer to listen to? What about querying the IP address or hostname? Any ideas?
– Nick Bolton
Nov 16 '18 at 14:38
Does it have to be Chrome? Can you just create a process to ping the other computer?
– Ron Trunk
Nov 16 '18 at 20:15
The user downloads the app from a web browser, so it'd be more seamless if they didn't have to install a program or run a process manually. It'd be great if I could run a Chrome extension that creates a TCP socket or something...
– Nick Bolton
Nov 16 '18 at 21:20
@RonMaupin Maybe Chrome Sockets? developer.chrome.com/apps/sockets_tcp
– Nick Bolton
Nov 16 '18 at 21:23