Cannot connect to WEBrick on home network
I'm an Android developer and often my applications require server-side code. I typically use Ruby on Rails for the web app, and during development will run the server on my local machine (Mac OS X) with WEBrick. In the morning when I get to the office, I'll run ifconfig in the console to see what IP my laptop has been given that day. I'll use that IP in my Android app when making requests to the web app in question.
This all works fine, when I'm in my office.
When I get home, I attempt to do the same thing, find my laptop's IP via ifconfig, set it in my app's config file, but the destination can never be found. To exclude my app from the set of hurdles, I attempt to visit the web server IP (e.g., http://192.168.1.4:3000) from my phone's browser, and it cannot connect. If I try from my laptop, which is running the web server, it works fine. If I try from another machine, on the same network, it also is unable to connect.
Given this, I think I've narrowed it down to some kind of configuration in my home network, but I frankly have no idea what the cause could be. I don't have anything special at home, your basic Verizon FiOS router/modem with everything connected via Wi-Fi (Wi-Fi for both phone and laptop at work as well, fyi). I've tried disabling the firewall on my Verizon router, enabling port forwarding, and just about everything else I could do for port 3000, and nothing has changed.
Dear Server Fault geniuses, please help a poor developer out. :)
Edit:
Some follow up items to add. My Mac's firewall is not active, and all incoming requests are allowed. I've also verified on my phone and laptop, that they're on the same network (192.168.1.4 Mac, 192.168.1.9 Phone). I have no idea why this isn't working.
Edit 2:
I went into System Preferences, enabled Web Sharing, and tried to view the website from my phone and it didn't connect. So it's not WEBrick or related to Rails. The firewall on my machine is off and the firewall on my router is off.
Edit 3:
Some progress. I set up port forwarding for port 3000 to my laptop, found the external IP, and used that and it connected fine. So, there's definitely something not quite set up correctly on my internal network.
firewall ruby-on-rails wireless-networking
migrated from serverfault.com Dec 10 '11 at 21:50
This question came from our site for system and network administrators.
add a comment |
I'm an Android developer and often my applications require server-side code. I typically use Ruby on Rails for the web app, and during development will run the server on my local machine (Mac OS X) with WEBrick. In the morning when I get to the office, I'll run ifconfig in the console to see what IP my laptop has been given that day. I'll use that IP in my Android app when making requests to the web app in question.
This all works fine, when I'm in my office.
When I get home, I attempt to do the same thing, find my laptop's IP via ifconfig, set it in my app's config file, but the destination can never be found. To exclude my app from the set of hurdles, I attempt to visit the web server IP (e.g., http://192.168.1.4:3000) from my phone's browser, and it cannot connect. If I try from my laptop, which is running the web server, it works fine. If I try from another machine, on the same network, it also is unable to connect.
Given this, I think I've narrowed it down to some kind of configuration in my home network, but I frankly have no idea what the cause could be. I don't have anything special at home, your basic Verizon FiOS router/modem with everything connected via Wi-Fi (Wi-Fi for both phone and laptop at work as well, fyi). I've tried disabling the firewall on my Verizon router, enabling port forwarding, and just about everything else I could do for port 3000, and nothing has changed.
Dear Server Fault geniuses, please help a poor developer out. :)
Edit:
Some follow up items to add. My Mac's firewall is not active, and all incoming requests are allowed. I've also verified on my phone and laptop, that they're on the same network (192.168.1.4 Mac, 192.168.1.9 Phone). I have no idea why this isn't working.
Edit 2:
I went into System Preferences, enabled Web Sharing, and tried to view the website from my phone and it didn't connect. So it's not WEBrick or related to Rails. The firewall on my machine is off and the firewall on my router is off.
Edit 3:
Some progress. I set up port forwarding for port 3000 to my laptop, found the external IP, and used that and it connected fine. So, there's definitely something not quite set up correctly on my internal network.
firewall ruby-on-rails wireless-networking
migrated from serverfault.com Dec 10 '11 at 21:50
This question came from our site for system and network administrators.
Did you check if there is any incoming attempt on that IP:port at TCP level? My first guess is that incoming requests are blocked. From the same machine it is not blocked naturally. Try to look for firewalling options in your router.
– karatedog
Dec 10 '11 at 22:29
I looked around in the router options and never found an access log, just general configuration logs. I disabled the firewall completely and still couldn't get a connection.
– Chris Stewart
Dec 13 '11 at 21:30
Not in your router :-) in your computer's firewall's log (I'm not sure if it isiptables
on Mac or what). You can even usetcpdump
to listen on that specific :3000 port to see if anything is happening.
– karatedog
Dec 14 '11 at 10:02
It works when I'm in my office, so I can't imagine incoming requests on blocked on my machine.
– Chris Stewart
Dec 15 '11 at 18:33
You could always try to reset the settings on your router and reconfigure them.
– kobaltz
Dec 17 '11 at 3:15
add a comment |
I'm an Android developer and often my applications require server-side code. I typically use Ruby on Rails for the web app, and during development will run the server on my local machine (Mac OS X) with WEBrick. In the morning when I get to the office, I'll run ifconfig in the console to see what IP my laptop has been given that day. I'll use that IP in my Android app when making requests to the web app in question.
This all works fine, when I'm in my office.
When I get home, I attempt to do the same thing, find my laptop's IP via ifconfig, set it in my app's config file, but the destination can never be found. To exclude my app from the set of hurdles, I attempt to visit the web server IP (e.g., http://192.168.1.4:3000) from my phone's browser, and it cannot connect. If I try from my laptop, which is running the web server, it works fine. If I try from another machine, on the same network, it also is unable to connect.
Given this, I think I've narrowed it down to some kind of configuration in my home network, but I frankly have no idea what the cause could be. I don't have anything special at home, your basic Verizon FiOS router/modem with everything connected via Wi-Fi (Wi-Fi for both phone and laptop at work as well, fyi). I've tried disabling the firewall on my Verizon router, enabling port forwarding, and just about everything else I could do for port 3000, and nothing has changed.
Dear Server Fault geniuses, please help a poor developer out. :)
Edit:
Some follow up items to add. My Mac's firewall is not active, and all incoming requests are allowed. I've also verified on my phone and laptop, that they're on the same network (192.168.1.4 Mac, 192.168.1.9 Phone). I have no idea why this isn't working.
Edit 2:
I went into System Preferences, enabled Web Sharing, and tried to view the website from my phone and it didn't connect. So it's not WEBrick or related to Rails. The firewall on my machine is off and the firewall on my router is off.
Edit 3:
Some progress. I set up port forwarding for port 3000 to my laptop, found the external IP, and used that and it connected fine. So, there's definitely something not quite set up correctly on my internal network.
firewall ruby-on-rails wireless-networking
I'm an Android developer and often my applications require server-side code. I typically use Ruby on Rails for the web app, and during development will run the server on my local machine (Mac OS X) with WEBrick. In the morning when I get to the office, I'll run ifconfig in the console to see what IP my laptop has been given that day. I'll use that IP in my Android app when making requests to the web app in question.
This all works fine, when I'm in my office.
When I get home, I attempt to do the same thing, find my laptop's IP via ifconfig, set it in my app's config file, but the destination can never be found. To exclude my app from the set of hurdles, I attempt to visit the web server IP (e.g., http://192.168.1.4:3000) from my phone's browser, and it cannot connect. If I try from my laptop, which is running the web server, it works fine. If I try from another machine, on the same network, it also is unable to connect.
Given this, I think I've narrowed it down to some kind of configuration in my home network, but I frankly have no idea what the cause could be. I don't have anything special at home, your basic Verizon FiOS router/modem with everything connected via Wi-Fi (Wi-Fi for both phone and laptop at work as well, fyi). I've tried disabling the firewall on my Verizon router, enabling port forwarding, and just about everything else I could do for port 3000, and nothing has changed.
Dear Server Fault geniuses, please help a poor developer out. :)
Edit:
Some follow up items to add. My Mac's firewall is not active, and all incoming requests are allowed. I've also verified on my phone and laptop, that they're on the same network (192.168.1.4 Mac, 192.168.1.9 Phone). I have no idea why this isn't working.
Edit 2:
I went into System Preferences, enabled Web Sharing, and tried to view the website from my phone and it didn't connect. So it's not WEBrick or related to Rails. The firewall on my machine is off and the firewall on my router is off.
Edit 3:
Some progress. I set up port forwarding for port 3000 to my laptop, found the external IP, and used that and it connected fine. So, there's definitely something not quite set up correctly on my internal network.
firewall ruby-on-rails wireless-networking
firewall ruby-on-rails wireless-networking
edited Dec 19 '11 at 21:26
Chris Stewart
asked Dec 10 '11 at 2:14
Chris StewartChris Stewart
6616
6616
migrated from serverfault.com Dec 10 '11 at 21:50
This question came from our site for system and network administrators.
migrated from serverfault.com Dec 10 '11 at 21:50
This question came from our site for system and network administrators.
Did you check if there is any incoming attempt on that IP:port at TCP level? My first guess is that incoming requests are blocked. From the same machine it is not blocked naturally. Try to look for firewalling options in your router.
– karatedog
Dec 10 '11 at 22:29
I looked around in the router options and never found an access log, just general configuration logs. I disabled the firewall completely and still couldn't get a connection.
– Chris Stewart
Dec 13 '11 at 21:30
Not in your router :-) in your computer's firewall's log (I'm not sure if it isiptables
on Mac or what). You can even usetcpdump
to listen on that specific :3000 port to see if anything is happening.
– karatedog
Dec 14 '11 at 10:02
It works when I'm in my office, so I can't imagine incoming requests on blocked on my machine.
– Chris Stewart
Dec 15 '11 at 18:33
You could always try to reset the settings on your router and reconfigure them.
– kobaltz
Dec 17 '11 at 3:15
add a comment |
Did you check if there is any incoming attempt on that IP:port at TCP level? My first guess is that incoming requests are blocked. From the same machine it is not blocked naturally. Try to look for firewalling options in your router.
– karatedog
Dec 10 '11 at 22:29
I looked around in the router options and never found an access log, just general configuration logs. I disabled the firewall completely and still couldn't get a connection.
– Chris Stewart
Dec 13 '11 at 21:30
Not in your router :-) in your computer's firewall's log (I'm not sure if it isiptables
on Mac or what). You can even usetcpdump
to listen on that specific :3000 port to see if anything is happening.
– karatedog
Dec 14 '11 at 10:02
It works when I'm in my office, so I can't imagine incoming requests on blocked on my machine.
– Chris Stewart
Dec 15 '11 at 18:33
You could always try to reset the settings on your router and reconfigure them.
– kobaltz
Dec 17 '11 at 3:15
Did you check if there is any incoming attempt on that IP:port at TCP level? My first guess is that incoming requests are blocked. From the same machine it is not blocked naturally. Try to look for firewalling options in your router.
– karatedog
Dec 10 '11 at 22:29
Did you check if there is any incoming attempt on that IP:port at TCP level? My first guess is that incoming requests are blocked. From the same machine it is not blocked naturally. Try to look for firewalling options in your router.
– karatedog
Dec 10 '11 at 22:29
I looked around in the router options and never found an access log, just general configuration logs. I disabled the firewall completely and still couldn't get a connection.
– Chris Stewart
Dec 13 '11 at 21:30
I looked around in the router options and never found an access log, just general configuration logs. I disabled the firewall completely and still couldn't get a connection.
– Chris Stewart
Dec 13 '11 at 21:30
Not in your router :-) in your computer's firewall's log (I'm not sure if it is
iptables
on Mac or what). You can even use tcpdump
to listen on that specific :3000 port to see if anything is happening.– karatedog
Dec 14 '11 at 10:02
Not in your router :-) in your computer's firewall's log (I'm not sure if it is
iptables
on Mac or what). You can even use tcpdump
to listen on that specific :3000 port to see if anything is happening.– karatedog
Dec 14 '11 at 10:02
It works when I'm in my office, so I can't imagine incoming requests on blocked on my machine.
– Chris Stewart
Dec 15 '11 at 18:33
It works when I'm in my office, so I can't imagine incoming requests on blocked on my machine.
– Chris Stewart
Dec 15 '11 at 18:33
You could always try to reset the settings on your router and reconfigure them.
– kobaltz
Dec 17 '11 at 3:15
You could always try to reset the settings on your router and reconfigure them.
– kobaltz
Dec 17 '11 at 3:15
add a comment |
3 Answers
3
active
oldest
votes
Have you tried running WEBrick like this rails s -p 80 to force port 80. If you have a problem with your router, trying a different port could help.
I would suggest plugging your computer in directly and access it from a computer plugged in directly. Your router may be one of those funny ones that have two networks; main wireless network and guest wireless network. Even though all of your devices are connected to the same physical router, you are on different networks that are separated from each other. I would check your wireless settings on the laptop and make sure that this is not the case.
1
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
add a comment |
Some routers have an option to disable communication between wireless clients. Check through the wireless settings for your router and see if such an option is enabled. It might be called "Isolation" mode, or similar. If you can provide an actual manufacturer/model # for the router, it might be possible to hunt through the documentation and help see if such an option is available on the router.
If your phone and your laptop both have 192.168.1.4
as their IP address (as you described), then they are not on the same network (or seriously misconfigured and cannot access the internet).
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
add a comment |
I know that on some Windows 7 machines, you have different networks (Public, Home, Work). You may have your machine connected as Public at home which could cause it to not display the site. However at your office, the connection is set to Work or Home which opened up the Webrick. I would try disabling your connection to your home and forgetting that connection. Try to establish a new one and set it to Home.
Under Network, click on either the Home network, Work network, or Public network link depending on what you currently have selected as your network location. (see screenshot below)
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f366696%2fcannot-connect-to-webrick-on-home-network%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
Have you tried running WEBrick like this rails s -p 80 to force port 80. If you have a problem with your router, trying a different port could help.
I would suggest plugging your computer in directly and access it from a computer plugged in directly. Your router may be one of those funny ones that have two networks; main wireless network and guest wireless network. Even though all of your devices are connected to the same physical router, you are on different networks that are separated from each other. I would check your wireless settings on the laptop and make sure that this is not the case.
1
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
add a comment |
Have you tried running WEBrick like this rails s -p 80 to force port 80. If you have a problem with your router, trying a different port could help.
I would suggest plugging your computer in directly and access it from a computer plugged in directly. Your router may be one of those funny ones that have two networks; main wireless network and guest wireless network. Even though all of your devices are connected to the same physical router, you are on different networks that are separated from each other. I would check your wireless settings on the laptop and make sure that this is not the case.
1
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
add a comment |
Have you tried running WEBrick like this rails s -p 80 to force port 80. If you have a problem with your router, trying a different port could help.
I would suggest plugging your computer in directly and access it from a computer plugged in directly. Your router may be one of those funny ones that have two networks; main wireless network and guest wireless network. Even though all of your devices are connected to the same physical router, you are on different networks that are separated from each other. I would check your wireless settings on the laptop and make sure that this is not the case.
Have you tried running WEBrick like this rails s -p 80 to force port 80. If you have a problem with your router, trying a different port could help.
I would suggest plugging your computer in directly and access it from a computer plugged in directly. Your router may be one of those funny ones that have two networks; main wireless network and guest wireless network. Even though all of your devices are connected to the same physical router, you are on different networks that are separated from each other. I would check your wireless settings on the laptop and make sure that this is not the case.
answered Dec 16 '11 at 0:41
kobaltzkobaltz
14.2k33054
14.2k33054
1
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
add a comment |
1
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
1
1
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
I did try forcing port 80 with no difference, will look into the possibility of different networks.
– Chris Stewart
Dec 16 '11 at 1:53
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
Can you check what IP and Gateway your Android device gets when it connects to the router? Your router should be able to list the connected devices along with at least the IP address.
– karatedog
Dec 16 '11 at 10:09
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
I've added the IP of both my laptop and phone to the original post. I can't find the gateway information anywhere.
– Chris Stewart
Dec 17 '11 at 1:59
add a comment |
Some routers have an option to disable communication between wireless clients. Check through the wireless settings for your router and see if such an option is enabled. It might be called "Isolation" mode, or similar. If you can provide an actual manufacturer/model # for the router, it might be possible to hunt through the documentation and help see if such an option is available on the router.
If your phone and your laptop both have 192.168.1.4
as their IP address (as you described), then they are not on the same network (or seriously misconfigured and cannot access the internet).
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
add a comment |
Some routers have an option to disable communication between wireless clients. Check through the wireless settings for your router and see if such an option is enabled. It might be called "Isolation" mode, or similar. If you can provide an actual manufacturer/model # for the router, it might be possible to hunt through the documentation and help see if such an option is available on the router.
If your phone and your laptop both have 192.168.1.4
as their IP address (as you described), then they are not on the same network (or seriously misconfigured and cannot access the internet).
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
add a comment |
Some routers have an option to disable communication between wireless clients. Check through the wireless settings for your router and see if such an option is enabled. It might be called "Isolation" mode, or similar. If you can provide an actual manufacturer/model # for the router, it might be possible to hunt through the documentation and help see if such an option is available on the router.
If your phone and your laptop both have 192.168.1.4
as their IP address (as you described), then they are not on the same network (or seriously misconfigured and cannot access the internet).
Some routers have an option to disable communication between wireless clients. Check through the wireless settings for your router and see if such an option is enabled. It might be called "Isolation" mode, or similar. If you can provide an actual manufacturer/model # for the router, it might be possible to hunt through the documentation and help see if such an option is available on the router.
If your phone and your laptop both have 192.168.1.4
as their IP address (as you described), then they are not on the same network (or seriously misconfigured and cannot access the internet).
edited Dec 19 '11 at 16:54
answered Dec 19 '11 at 16:48
Darth AndroidDarth Android
34.2k476100
34.2k476100
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
add a comment |
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
Thanks, I'll take a look. I fixed my original question, the phone is .9 and the laptop is .4.
– Chris Stewart
Dec 19 '11 at 21:27
add a comment |
I know that on some Windows 7 machines, you have different networks (Public, Home, Work). You may have your machine connected as Public at home which could cause it to not display the site. However at your office, the connection is set to Work or Home which opened up the Webrick. I would try disabling your connection to your home and forgetting that connection. Try to establish a new one and set it to Home.
Under Network, click on either the Home network, Work network, or Public network link depending on what you currently have selected as your network location. (see screenshot below)
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
add a comment |
I know that on some Windows 7 machines, you have different networks (Public, Home, Work). You may have your machine connected as Public at home which could cause it to not display the site. However at your office, the connection is set to Work or Home which opened up the Webrick. I would try disabling your connection to your home and forgetting that connection. Try to establish a new one and set it to Home.
Under Network, click on either the Home network, Work network, or Public network link depending on what you currently have selected as your network location. (see screenshot below)
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
add a comment |
I know that on some Windows 7 machines, you have different networks (Public, Home, Work). You may have your machine connected as Public at home which could cause it to not display the site. However at your office, the connection is set to Work or Home which opened up the Webrick. I would try disabling your connection to your home and forgetting that connection. Try to establish a new one and set it to Home.
Under Network, click on either the Home network, Work network, or Public network link depending on what you currently have selected as your network location. (see screenshot below)
I know that on some Windows 7 machines, you have different networks (Public, Home, Work). You may have your machine connected as Public at home which could cause it to not display the site. However at your office, the connection is set to Work or Home which opened up the Webrick. I would try disabling your connection to your home and forgetting that connection. Try to establish a new one and set it to Home.
Under Network, click on either the Home network, Work network, or Public network link depending on what you currently have selected as your network location. (see screenshot below)
answered Dec 19 '11 at 17:07
kobaltzkobaltz
14.2k33054
14.2k33054
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
add a comment |
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
My laptop is a Mac, so it doesn't have that distinction.
– Chris Stewart
Dec 22 '11 at 0:04
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f366696%2fcannot-connect-to-webrick-on-home-network%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
Did you check if there is any incoming attempt on that IP:port at TCP level? My first guess is that incoming requests are blocked. From the same machine it is not blocked naturally. Try to look for firewalling options in your router.
– karatedog
Dec 10 '11 at 22:29
I looked around in the router options and never found an access log, just general configuration logs. I disabled the firewall completely and still couldn't get a connection.
– Chris Stewart
Dec 13 '11 at 21:30
Not in your router :-) in your computer's firewall's log (I'm not sure if it is
iptables
on Mac or what). You can even usetcpdump
to listen on that specific :3000 port to see if anything is happening.– karatedog
Dec 14 '11 at 10:02
It works when I'm in my office, so I can't imagine incoming requests on blocked on my machine.
– Chris Stewart
Dec 15 '11 at 18:33
You could always try to reset the settings on your router and reconfigure them.
– kobaltz
Dec 17 '11 at 3:15