*SSH Config * Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile C:/rails_box/.vagrant/machines/default/virtualbox/private_key IdentitiesOnly yes LogLevel FATAL
*Netstat * Grep on the port returned nothing , here is what I have minus domain sockets Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1118/sshd tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 843/inetd tcp 0 0 10.0.2.15:22 10.0.2.2:49350 ESTABLISHED 2489/sshd: vagrant tcp6 0 0 :::22 :::* LISTEN 1118/sshd tcp6 0 0 ::1:5432 :::* LISTEN 1261/postgres udp 0 0 0.0.0.0:68 0.0.0.0:* 022/dhclient udp6 0 0 ::1:33490 ::1:33490 ESTABLISHED 1261/postgres I ran the tnc on the port in Windows Powershell but couldn't figure out the command to write to file. It did not make a connection though and exited. On Wednesday, May 31, 2017 at 2:52:27 PM UTC-6, Alvaro Miranda Aguilera wrote: > > can you share: > > output of: > > vagrant ssh-config > > and from the guest > > sudo netstat -anp | grep 1125 > > On the windows, open one powershell session, not sure available on windows > 8 but try: > > tnc localhost -p 4567 > > share output > > Thanks > Alvaro > > On Wed, May 31, 2017 at 10:33 PM, French Fry <[email protected] > <javascript:>> wrote: > >> Running Vagrant 1.95 with VirtualBox Version 5.1.22 r115126 (Qt5.6.2). >> Box is bento/ubuntu-16.04. Host is Windows 8. >> >> ssh is working so no problem there. What I can't do is either telnet or >> connect through host browser. Here is the relevant section of the >> Vagrantfile >> >> config.vm.network "forwarded_port", guest: 1125, host: 4567, protocol: >> "tcp", auto_correct: true >> config.vm.network "forwarded_port", guest: 1125, host: 4567, protocol: >> "udp", auto_correct: true >> >> I added the protocol and auto_correct options recently but they haven't >> changed anything. >> Also enabled Vagrant logging and am not seeing any issues regarding the >> ports. Running >> sudo netstat -lptn and other options shows the ports of ssh and my >> postgresql listening, but nothing for the forwarded ports in the config >> file. >> >> I was able to netcat the port, that worked for telnet. No firewall >> running on Ubuntu (ufw status - inactive) and iptables is basically empty / >> no rules defined. Not that it would matter with ufw off. >> >> I've also done multiple tests with Windows firewall off, so the problem >> doesn't appear to be there. Checked my router and still no issues (not >> running a firewall on the router). >> >> Googling around there were some suggestions to use a bridged connection >> in Virtualbox as opposed to NAT, though if ssh is working, why wouldn't >> telnet and ultimately my browser. >> >> Looking for some suggestions / help on this issue. Thank you! >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/vagrant/issues >> IRC: #vagrant on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Vagrant" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/vagrant-up/520ac130-6ace-4b6a-8769-27ae331565bf%40googlegroups.com >> >> <https://groups.google.com/d/msgid/vagrant-up/520ac130-6ace-4b6a-8769-27ae331565bf%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a9d4d91c-21b6-45e6-8d5a-240715b67dcc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
