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.
linux networking virtualbox dns kali-linux
New contributor
add a comment |
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.
linux networking virtualbox dns kali-linux
New contributor
Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can youping
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 ofnetstat -lt4
on that machine?
– xenoid
Nov 22 at 12:47
add a comment |
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.
linux networking virtualbox dns kali-linux
New contributor
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
linux networking virtualbox dns kali-linux
New contributor
New contributor
edited Nov 22 at 20:09
Aulis Ronkainen
6151514
6151514
New contributor
asked Nov 22 at 8:50
guest1829667
11
11
New contributor
New contributor
Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can youping
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 ofnetstat -lt4
on that machine?
– xenoid
Nov 22 at 12:47
add a comment |
Do you mean "same subnet"? What is your local IP address (and subnet mask)? What detailed error does Firefox show? Can youping
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 ofnetstat -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
add a comment |
active
oldest
votes
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.
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.
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%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
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
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