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
























  • 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
























  • 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















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















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 at 20:09









Aulis Ronkainen

6051614




6051614










asked Nov 22 at 8:50









guest1829667

11




11












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


}
});














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
















draft saved

draft discarded




















































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.




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

AnyDesk - Fatal Program Failure

How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

QoS: MAC-Priority for clients behind a repeater