Connection refused on Ubuntu 18.10












0















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?










share|improve this question























  • 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


















0















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?










share|improve this question























  • 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
















0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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





















  • 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












1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer
























  • 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 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











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
});


}
});














draft saved

draft discarded


















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









0














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.






share|improve this answer
























  • 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 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
















0














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.






share|improve this answer
























  • 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 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














0












0








0







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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 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



















  • 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 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

















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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀