Connection refused on Ubuntu 18.10
I'm new to Ubuntu and i just installed the 18.10 version as a dual boot with windows. My problem is that when i try to connect to certain websites likes my university's mail, i get a connection refused error
from chrome or firefox. Did i mess something up during the installation process? I cleaned the cache from the browsers but nothing. Any ideas?
networking google-chrome 18.10
add a comment |
I'm new to Ubuntu and i just installed the 18.10 version as a dual boot with windows. My problem is that when i try to connect to certain websites likes my university's mail, i get a connection refused error
from chrome or firefox. Did i mess something up during the installation process? I cleaned the cache from the browsers but nothing. Any ideas?
networking google-chrome 18.10
Could you add the exact message that each browser shows? I've never seed "connection refused error" message from Firefox - if you try to connect to a valid IP but invalid port you usually get an "Unable to connect" error.
– Guss
Jan 17 at 17:39
add a comment |
I'm new to Ubuntu and i just installed the 18.10 version as a dual boot with windows. My problem is that when i try to connect to certain websites likes my university's mail, i get a connection refused error
from chrome or firefox. Did i mess something up during the installation process? I cleaned the cache from the browsers but nothing. Any ideas?
networking google-chrome 18.10
I'm new to Ubuntu and i just installed the 18.10 version as a dual boot with windows. My problem is that when i try to connect to certain websites likes my university's mail, i get a connection refused error
from chrome or firefox. Did i mess something up during the installation process? I cleaned the cache from the browsers but nothing. Any ideas?
networking google-chrome 18.10
networking google-chrome 18.10
asked Jan 16 at 20:28
Stelios PapamichailStelios Papamichail
11
11
Could you add the exact message that each browser shows? I've never seed "connection refused error" message from Firefox - if you try to connect to a valid IP but invalid port you usually get an "Unable to connect" error.
– Guss
Jan 17 at 17:39
add a comment |
Could you add the exact message that each browser shows? I've never seed "connection refused error" message from Firefox - if you try to connect to a valid IP but invalid port you usually get an "Unable to connect" error.
– Guss
Jan 17 at 17:39
Could you add the exact message that each browser shows? I've never seed "connection refused error" message from Firefox - if you try to connect to a valid IP but invalid port you usually get an "Unable to connect" error.
– Guss
Jan 17 at 17:39
Could you add the exact message that each browser shows? I've never seed "connection refused error" message from Firefox - if you try to connect to a valid IP but invalid port you usually get an "Unable to connect" error.
– Guss
Jan 17 at 17:39
add a comment |
1 Answer
1
active
oldest
votes
Connection refused is typically related to a firewall rule actively blocking the connection as opposed to a network configuration error that might result in a connection timeout response.
It's quite possible something on your LAN is preventing access. Is the IP assigned to your Linux environment the same as the IP assigned to your Windows environment? If not, can you statically assign the same IP to both environments and test again.
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey thanks to your suggestion, when i runifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!
– Stelios Papamichail
Jan 17 at 21:39
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1110402%2fconnection-refused-on-ubuntu-18-10%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Connection refused is typically related to a firewall rule actively blocking the connection as opposed to a network configuration error that might result in a connection timeout response.
It's quite possible something on your LAN is preventing access. Is the IP assigned to your Linux environment the same as the IP assigned to your Windows environment? If not, can you statically assign the same IP to both environments and test again.
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey thanks to your suggestion, when i runifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!
– Stelios Papamichail
Jan 17 at 21:39
add a comment |
Connection refused is typically related to a firewall rule actively blocking the connection as opposed to a network configuration error that might result in a connection timeout response.
It's quite possible something on your LAN is preventing access. Is the IP assigned to your Linux environment the same as the IP assigned to your Windows environment? If not, can you statically assign the same IP to both environments and test again.
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey thanks to your suggestion, when i runifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!
– Stelios Papamichail
Jan 17 at 21:39
add a comment |
Connection refused is typically related to a firewall rule actively blocking the connection as opposed to a network configuration error that might result in a connection timeout response.
It's quite possible something on your LAN is preventing access. Is the IP assigned to your Linux environment the same as the IP assigned to your Windows environment? If not, can you statically assign the same IP to both environments and test again.
Connection refused is typically related to a firewall rule actively blocking the connection as opposed to a network configuration error that might result in a connection timeout response.
It's quite possible something on your LAN is preventing access. Is the IP assigned to your Linux environment the same as the IP assigned to your Windows environment? If not, can you statically assign the same IP to both environments and test again.
answered Jan 16 at 22:43
JoeyJoey
212
212
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey thanks to your suggestion, when i runifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!
– Stelios Papamichail
Jan 17 at 21:39
add a comment |
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey thanks to your suggestion, when i runifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!
– Stelios Papamichail
Jan 17 at 21:39
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
How do i find that IP out? You mean my local IP e.g. 192.1...... ?
– Stelios Papamichail
Jan 16 at 23:14
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
In Linux, open a terminal window and type " ifconfig -a " In Windows, open a command prompt and type " ipconfig " Both will show the IP address of the network interface. If they are different, you can manually set the Linux one to the same as the Windows one. If it works then, you can either contact your network administrator and let them know that your IP changes between environments, OR you can just statically assign both environments to a known working IP and move on. Really just depends on what your network environment is like.
– Joey
Jan 17 at 14:05
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey - I don't think you are right regarding firewall behavior: most firewall blocking rules drop packets (resulting in timeout) instead of returning ICMP "connection refused" errors - as this behavior is considered "reporting on the existence of a server" to an attacker.
– Guss
Jan 17 at 17:35
@Joey thanks to your suggestion, when i run
ifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!– Stelios Papamichail
Jan 17 at 21:39
@Joey thanks to your suggestion, when i run
ifconfig -a
on linux i was notified that there were no net tools installed. After installing them, boom fixed!– Stelios Papamichail
Jan 17 at 21:39
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1110402%2fconnection-refused-on-ubuntu-18-10%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
Could you add the exact message that each browser shows? I've never seed "connection refused error" message from Firefox - if you try to connect to a valid IP but invalid port you usually get an "Unable to connect" error.
– Guss
Jan 17 at 17:39