Can't connect to a game server from within my local network BUT others from outside the network can connect
I have a game server hosted on a certain port in Ubuntu, which is port forwarded. Users from other places can successfully connect to that server. However, I can't connect to it from another computer within the same network. both computers are connected to the same network Router (F660 ZTE). I'm trying to connect from a Windows 10 PC. I've modified all the relevant firewall rules to no avail. It seems like a complete inability to connect, not just the client being denied access, as there are no indications of getting blocked out in the logs.
When I ping the server, there is just a total lack of communication, no connection until the pings timeout. This happens the other way arround as well.
For a while I managed to fix it by connecting using the local ip, but the problem suddenly came back again. Now I can't reach it in any way, be it the external or the internal IP.
Client OS: Windows 10
Server OS: Ubuntu 16.04 LTS
Game: Minecraft
Router: F660
Edit:: More research suggests this has something to do with "Hairpin NAT" or similar, but I don't know what to do afterwards
Exit 2: This isn't a duplicate, my problem wasn't fixed by that other question. I now added to my client's hosts file a rule so "yeet.com" is taken as the internal ip of my server, but the problem wasn't fixed.
Edit 3: No, those answers don't work. Uisng the internal ip is NOT a workaround in my case, but it seems to be a workaround in their case. Even connecting through internal ip is impossible
networking ubuntu router
|
show 1 more comment
I have a game server hosted on a certain port in Ubuntu, which is port forwarded. Users from other places can successfully connect to that server. However, I can't connect to it from another computer within the same network. both computers are connected to the same network Router (F660 ZTE). I'm trying to connect from a Windows 10 PC. I've modified all the relevant firewall rules to no avail. It seems like a complete inability to connect, not just the client being denied access, as there are no indications of getting blocked out in the logs.
When I ping the server, there is just a total lack of communication, no connection until the pings timeout. This happens the other way arround as well.
For a while I managed to fix it by connecting using the local ip, but the problem suddenly came back again. Now I can't reach it in any way, be it the external or the internal IP.
Client OS: Windows 10
Server OS: Ubuntu 16.04 LTS
Game: Minecraft
Router: F660
Edit:: More research suggests this has something to do with "Hairpin NAT" or similar, but I don't know what to do afterwards
Exit 2: This isn't a duplicate, my problem wasn't fixed by that other question. I now added to my client's hosts file a rule so "yeet.com" is taken as the internal ip of my server, but the problem wasn't fixed.
Edit 3: No, those answers don't work. Uisng the internal ip is NOT a workaround in my case, but it seems to be a workaround in their case. Even connecting through internal ip is impossible
networking ubuntu router
have you tried disabling your firewall temporarily?
– Nordlys Jeger
Dec 16 at 23:47
Yes, doesn't do anything
– coldblade2000
Dec 16 at 23:50
3
Possible duplicate of Unable to access outside service from inside LAN
– Kamil Maciorowski
Dec 16 at 23:52
1
Possible duplicate of Cannot access myself with global ip, others can
– G-Man
Dec 17 at 0:00
1
Perhaps you should edit your question to say, "I have two computers on the same network. At one point, I was able to connect from one to another (on the local network, using the local IP address), but that stopped working. P.S. I have port forwarding enabled on my router, and users can still access my server from outside the local network."
– G-Man
Dec 17 at 0:09
|
show 1 more comment
I have a game server hosted on a certain port in Ubuntu, which is port forwarded. Users from other places can successfully connect to that server. However, I can't connect to it from another computer within the same network. both computers are connected to the same network Router (F660 ZTE). I'm trying to connect from a Windows 10 PC. I've modified all the relevant firewall rules to no avail. It seems like a complete inability to connect, not just the client being denied access, as there are no indications of getting blocked out in the logs.
When I ping the server, there is just a total lack of communication, no connection until the pings timeout. This happens the other way arround as well.
For a while I managed to fix it by connecting using the local ip, but the problem suddenly came back again. Now I can't reach it in any way, be it the external or the internal IP.
Client OS: Windows 10
Server OS: Ubuntu 16.04 LTS
Game: Minecraft
Router: F660
Edit:: More research suggests this has something to do with "Hairpin NAT" or similar, but I don't know what to do afterwards
Exit 2: This isn't a duplicate, my problem wasn't fixed by that other question. I now added to my client's hosts file a rule so "yeet.com" is taken as the internal ip of my server, but the problem wasn't fixed.
Edit 3: No, those answers don't work. Uisng the internal ip is NOT a workaround in my case, but it seems to be a workaround in their case. Even connecting through internal ip is impossible
networking ubuntu router
I have a game server hosted on a certain port in Ubuntu, which is port forwarded. Users from other places can successfully connect to that server. However, I can't connect to it from another computer within the same network. both computers are connected to the same network Router (F660 ZTE). I'm trying to connect from a Windows 10 PC. I've modified all the relevant firewall rules to no avail. It seems like a complete inability to connect, not just the client being denied access, as there are no indications of getting blocked out in the logs.
When I ping the server, there is just a total lack of communication, no connection until the pings timeout. This happens the other way arround as well.
For a while I managed to fix it by connecting using the local ip, but the problem suddenly came back again. Now I can't reach it in any way, be it the external or the internal IP.
Client OS: Windows 10
Server OS: Ubuntu 16.04 LTS
Game: Minecraft
Router: F660
Edit:: More research suggests this has something to do with "Hairpin NAT" or similar, but I don't know what to do afterwards
Exit 2: This isn't a duplicate, my problem wasn't fixed by that other question. I now added to my client's hosts file a rule so "yeet.com" is taken as the internal ip of my server, but the problem wasn't fixed.
Edit 3: No, those answers don't work. Uisng the internal ip is NOT a workaround in my case, but it seems to be a workaround in their case. Even connecting through internal ip is impossible
networking ubuntu router
networking ubuntu router
edited Dec 17 at 0:02
asked Dec 16 at 23:46
coldblade2000
11
11
have you tried disabling your firewall temporarily?
– Nordlys Jeger
Dec 16 at 23:47
Yes, doesn't do anything
– coldblade2000
Dec 16 at 23:50
3
Possible duplicate of Unable to access outside service from inside LAN
– Kamil Maciorowski
Dec 16 at 23:52
1
Possible duplicate of Cannot access myself with global ip, others can
– G-Man
Dec 17 at 0:00
1
Perhaps you should edit your question to say, "I have two computers on the same network. At one point, I was able to connect from one to another (on the local network, using the local IP address), but that stopped working. P.S. I have port forwarding enabled on my router, and users can still access my server from outside the local network."
– G-Man
Dec 17 at 0:09
|
show 1 more comment
have you tried disabling your firewall temporarily?
– Nordlys Jeger
Dec 16 at 23:47
Yes, doesn't do anything
– coldblade2000
Dec 16 at 23:50
3
Possible duplicate of Unable to access outside service from inside LAN
– Kamil Maciorowski
Dec 16 at 23:52
1
Possible duplicate of Cannot access myself with global ip, others can
– G-Man
Dec 17 at 0:00
1
Perhaps you should edit your question to say, "I have two computers on the same network. At one point, I was able to connect from one to another (on the local network, using the local IP address), but that stopped working. P.S. I have port forwarding enabled on my router, and users can still access my server from outside the local network."
– G-Man
Dec 17 at 0:09
have you tried disabling your firewall temporarily?
– Nordlys Jeger
Dec 16 at 23:47
have you tried disabling your firewall temporarily?
– Nordlys Jeger
Dec 16 at 23:47
Yes, doesn't do anything
– coldblade2000
Dec 16 at 23:50
Yes, doesn't do anything
– coldblade2000
Dec 16 at 23:50
3
3
Possible duplicate of Unable to access outside service from inside LAN
– Kamil Maciorowski
Dec 16 at 23:52
Possible duplicate of Unable to access outside service from inside LAN
– Kamil Maciorowski
Dec 16 at 23:52
1
1
Possible duplicate of Cannot access myself with global ip, others can
– G-Man
Dec 17 at 0:00
Possible duplicate of Cannot access myself with global ip, others can
– G-Man
Dec 17 at 0:00
1
1
Perhaps you should edit your question to say, "I have two computers on the same network. At one point, I was able to connect from one to another (on the local network, using the local IP address), but that stopped working. P.S. I have port forwarding enabled on my router, and users can still access my server from outside the local network."
– G-Man
Dec 17 at 0:09
Perhaps you should edit your question to say, "I have two computers on the same network. At one point, I was able to connect from one to another (on the local network, using the local IP address), but that stopped working. P.S. I have port forwarding enabled on my router, and users can still access my server from outside the local network."
– G-Man
Dec 17 at 0:09
|
show 1 more comment
active
oldest
votes
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%2f1385105%2fcant-connect-to-a-game-server-from-within-my-local-network-but-others-from-outs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1385105%2fcant-connect-to-a-game-server-from-within-my-local-network-but-others-from-outs%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
have you tried disabling your firewall temporarily?
– Nordlys Jeger
Dec 16 at 23:47
Yes, doesn't do anything
– coldblade2000
Dec 16 at 23:50
3
Possible duplicate of Unable to access outside service from inside LAN
– Kamil Maciorowski
Dec 16 at 23:52
1
Possible duplicate of Cannot access myself with global ip, others can
– G-Man
Dec 17 at 0:00
1
Perhaps you should edit your question to say, "I have two computers on the same network. At one point, I was able to connect from one to another (on the local network, using the local IP address), but that stopped working. P.S. I have port forwarding enabled on my router, and users can still access my server from outside the local network."
– G-Man
Dec 17 at 0:09