Kali Linux VM can't connect to a server in the same subdomain











up vote
0
down vote

favorite












I have been using kali for a while but now I am having trouble connecting to a server on my same subnet (192.168.x.x) when I open Firefox and type http://192.168.1.189:8834/ the response is "cannot connect to the server".



Network details:




  • Relevant netstat -lt4 output:
    tcp 0 0 0.0.0.0:8834 0.0.0.0:* LISTEN

  • Firefox shows "cannot connect to server"

  • I can ping the both machines

  • Server IP 192.168.1.189

  • Server port 8834

  • Client IP 192.168.1.222

  • Subnet masks are both 255.255.255.0

  • Any machine that is not the VM can connect to the server


They both have IPs that look like 192.168.1.x.



Machines:




  • Kali VM (client)

  • Ubuntu Host (also the server)


What I tried:




  • Disabled proxies

  • Rebooted router

  • Changed local IP addresses


My settings are as follows:



network bridged   
using virtual box


The service I am trying to connect to is nessus if that helps.










share|improve this question









New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can you ping the VM's IP address, and can the VM ping the host?
    – grawity
    Nov 22 at 9:07










  • Hi guestXYZ... Did you connect to it before? Giving the internal or the external IP address (I mean did you redirect the port 8834 of the router incoming request to the server or are you using, e.g., another virtualbox image with a private IP on the local network with that server listening on the internal emulated network device... and it is the same)? Please edit your question adding details.. and register yourself. Welcome on SuperUser!
    – Hastur
    Nov 22 at 9:30












  • i am excited to be here!
    – guest1829667
    Nov 22 at 9:40










  • i edited the question to answer all of your questions
    – guest1829667
    Nov 22 at 9:48










  • Is the other machine actually listening on its 8834 port? What is the output of netstat -lt4 on that machine?
    – xenoid
    Nov 22 at 12:47















up vote
0
down vote

favorite












I have been using kali for a while but now I am having trouble connecting to a server on my same subnet (192.168.x.x) when I open Firefox and type http://192.168.1.189:8834/ the response is "cannot connect to the server".



Network details:




  • Relevant netstat -lt4 output:
    tcp 0 0 0.0.0.0:8834 0.0.0.0:* LISTEN

  • Firefox shows "cannot connect to server"

  • I can ping the both machines

  • Server IP 192.168.1.189

  • Server port 8834

  • Client IP 192.168.1.222

  • Subnet masks are both 255.255.255.0

  • Any machine that is not the VM can connect to the server


They both have IPs that look like 192.168.1.x.



Machines:




  • Kali VM (client)

  • Ubuntu Host (also the server)


What I tried:




  • Disabled proxies

  • Rebooted router

  • Changed local IP addresses


My settings are as follows:



network bridged   
using virtual box


The service I am trying to connect to is nessus if that helps.










share|improve this question









New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can you ping the VM's IP address, and can the VM ping the host?
    – grawity
    Nov 22 at 9:07










  • Hi guestXYZ... Did you connect to it before? Giving the internal or the external IP address (I mean did you redirect the port 8834 of the router incoming request to the server or are you using, e.g., another virtualbox image with a private IP on the local network with that server listening on the internal emulated network device... and it is the same)? Please edit your question adding details.. and register yourself. Welcome on SuperUser!
    – Hastur
    Nov 22 at 9:30












  • i am excited to be here!
    – guest1829667
    Nov 22 at 9:40










  • i edited the question to answer all of your questions
    – guest1829667
    Nov 22 at 9:48










  • Is the other machine actually listening on its 8834 port? What is the output of netstat -lt4 on that machine?
    – xenoid
    Nov 22 at 12:47













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have been using kali for a while but now I am having trouble connecting to a server on my same subnet (192.168.x.x) when I open Firefox and type http://192.168.1.189:8834/ the response is "cannot connect to the server".



Network details:




  • Relevant netstat -lt4 output:
    tcp 0 0 0.0.0.0:8834 0.0.0.0:* LISTEN

  • Firefox shows "cannot connect to server"

  • I can ping the both machines

  • Server IP 192.168.1.189

  • Server port 8834

  • Client IP 192.168.1.222

  • Subnet masks are both 255.255.255.0

  • Any machine that is not the VM can connect to the server


They both have IPs that look like 192.168.1.x.



Machines:




  • Kali VM (client)

  • Ubuntu Host (also the server)


What I tried:




  • Disabled proxies

  • Rebooted router

  • Changed local IP addresses


My settings are as follows:



network bridged   
using virtual box


The service I am trying to connect to is nessus if that helps.










share|improve this question









New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have been using kali for a while but now I am having trouble connecting to a server on my same subnet (192.168.x.x) when I open Firefox and type http://192.168.1.189:8834/ the response is "cannot connect to the server".



Network details:




  • Relevant netstat -lt4 output:
    tcp 0 0 0.0.0.0:8834 0.0.0.0:* LISTEN

  • Firefox shows "cannot connect to server"

  • I can ping the both machines

  • Server IP 192.168.1.189

  • Server port 8834

  • Client IP 192.168.1.222

  • Subnet masks are both 255.255.255.0

  • Any machine that is not the VM can connect to the server


They both have IPs that look like 192.168.1.x.



Machines:




  • Kali VM (client)

  • Ubuntu Host (also the server)


What I tried:




  • Disabled proxies

  • Rebooted router

  • Changed local IP addresses


My settings are as follows:



network bridged   
using virtual box


The service I am trying to connect to is nessus if that helps.







linux networking virtualbox dns kali-linux






share|improve this question









New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 22 at 20:09









Aulis Ronkainen

6151514




6151514






New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 22 at 8:50









guest1829667

11




11




New contributor




guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






guest1829667 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can you ping the VM's IP address, and can the VM ping the host?
    – grawity
    Nov 22 at 9:07










  • Hi guestXYZ... Did you connect to it before? Giving the internal or the external IP address (I mean did you redirect the port 8834 of the router incoming request to the server or are you using, e.g., another virtualbox image with a private IP on the local network with that server listening on the internal emulated network device... and it is the same)? Please edit your question adding details.. and register yourself. Welcome on SuperUser!
    – Hastur
    Nov 22 at 9:30












  • i am excited to be here!
    – guest1829667
    Nov 22 at 9:40










  • i edited the question to answer all of your questions
    – guest1829667
    Nov 22 at 9:48










  • Is the other machine actually listening on its 8834 port? What is the output of netstat -lt4 on that machine?
    – xenoid
    Nov 22 at 12:47


















  • Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can you ping the VM's IP address, and can the VM ping the host?
    – grawity
    Nov 22 at 9:07










  • Hi guestXYZ... Did you connect to it before? Giving the internal or the external IP address (I mean did you redirect the port 8834 of the router incoming request to the server or are you using, e.g., another virtualbox image with a private IP on the local network with that server listening on the internal emulated network device... and it is the same)? Please edit your question adding details.. and register yourself. Welcome on SuperUser!
    – Hastur
    Nov 22 at 9:30












  • i am excited to be here!
    – guest1829667
    Nov 22 at 9:40










  • i edited the question to answer all of your questions
    – guest1829667
    Nov 22 at 9:48










  • Is the other machine actually listening on its 8834 port? What is the output of netstat -lt4 on that machine?
    – xenoid
    Nov 22 at 12:47
















Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can you ping the VM's IP address, and can the VM ping the host?
– grawity
Nov 22 at 9:07




Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can you ping the VM's IP address, and can the VM ping the host?
– grawity
Nov 22 at 9:07












Hi guestXYZ... Did you connect to it before? Giving the internal or the external IP address (I mean did you redirect the port 8834 of the router incoming request to the server or are you using, e.g., another virtualbox image with a private IP on the local network with that server listening on the internal emulated network device... and it is the same)? Please edit your question adding details.. and register yourself. Welcome on SuperUser!
– Hastur
Nov 22 at 9:30






Hi guestXYZ... Did you connect to it before? Giving the internal or the external IP address (I mean did you redirect the port 8834 of the router incoming request to the server or are you using, e.g., another virtualbox image with a private IP on the local network with that server listening on the internal emulated network device... and it is the same)? Please edit your question adding details.. and register yourself. Welcome on SuperUser!
– Hastur
Nov 22 at 9:30














i am excited to be here!
– guest1829667
Nov 22 at 9:40




i am excited to be here!
– guest1829667
Nov 22 at 9:40












i edited the question to answer all of your questions
– guest1829667
Nov 22 at 9:48




i edited the question to answer all of your questions
– guest1829667
Nov 22 at 9:48












Is the other machine actually listening on its 8834 port? What is the output of netstat -lt4 on that machine?
– xenoid
Nov 22 at 12:47




Is the other machine actually listening on its 8834 port? What is the output of netstat -lt4 on that machine?
– xenoid
Nov 22 at 12:47















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


}
});






guest1829667 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377510%2fkali-linux-vm-cant-connect-to-a-server-in-the-same-subdomain%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








guest1829667 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















guest1829667 is a new contributor. Be nice, and check out our Code of Conduct.













guest1829667 is a new contributor. Be nice, and check out our Code of Conduct.












guest1829667 is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377510%2fkali-linux-vm-cant-connect-to-a-server-in-the-same-subdomain%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

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy