This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258346 - Unable to ssh vmware virtual machine host with NAT network adapter when not connected to WiFi/LAN
Summary: Unable to ssh vmware virtual machine host with NAT network adapter when not c...
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-13 12:59 UTC by necktwi
Modified: 2016-03-25 13:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (121.80 KB, text/plain)
2016-03-13 12:59 UTC, necktwi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description necktwi 2016-03-13 12:59:31 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.3 running on x86_64
Java; VM; Vendor = 1.8.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02

Reproducibility: Happens every time

STEPS:
  Turn the Mac's WiFi off, Open Netbeans, go to services->C++Build hosts->Right click->Add New Host->give remoteVMHost IP->Next
  It will try to connect forever.
  Remote Host VM is connected to NAT virtual network adapter.
  Open terminal ssh user@hostVMip; Able to ssh successfully!
  I dont understand why netbeans unable to connect while we can ssh the host from terminal when Mac's wifi is off.
  Now turn on the WiFi and add new host; Able to add successfully.
  
ACTUAL:
  unable to add NAT connected VM host when Mac's WiFi is off

EXPECTED:
  should be able to add NAT connected VM host though Mac's WiFi is of
Comment 1 necktwi 2016-03-13 12:59:42 UTC
Created attachment 158840 [details]
IDE log
Comment 2 Vladimir Kvashin 2016-03-18 20:32:20 UTC
Thank you for the detailed report.

I never tried using vmware as remote host. With VirtualBox I was only able to connect to a VM with NAT via port forwarding: I forwarder some port on host computer on the 22-nd port of the guest.

Could you please run your NetBeans with additional command line parameters
-J-Dcnd.remote.logger.level=0 -J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0
and attach (or just send it me) IDE log?

Please note that it will include host and user names that you would probably like ot strip
Comment 3 Vladimir Kvashin 2016-03-25 13:40:17 UTC
I'm closing as "incomplete". Should this repeat, please reopen and attach the requested information. (As I understood from mail exchange with the reporter, it does not repeat any more)