Buggy Port When Connecting to Remote Server

4 views
Skip to first unread message

Matan Ziv

unread,
Oct 21, 2018, 10:37:39 AM10/21/18
to vmwaretasks
Hi,
I tried connecting to my vSphere server using the API.
However every try I end up getting "Failed to connect" error. 
Looking at the source code, it seems the "port" option is ignored (instead of parsing the port from the argument, 0 is being sent).
My server port is 443.
Connecting using PowerCLI works like magic so I'm not sure what could be the cause of this except for the port.
I also tried rebuilding the code and fix the bug, but VS keeps telling me I'm missing GlobalAssemblyConfig files...

If you have any idea how I can proceed from here, using the API, please reply.
Thanks! 
Reply all
Reply to author
Forward
0 new messages