PORT issue - WeOnlyDo Discussion board

PORT issue (wodSSHServer)

by Adam West, Tuesday, March 07, 2006, 23:27 (4275 days ago)

I tried changing the port value with

ssh1.start 4400 and it doesn't seem to change the port that the server listens on. Still listens on 22.

Re: PORT issue

by wodSupport, Tuesday, March 07, 2006, 23:32 (4275 days ago) @ Adam West

Adam,

and if you change Port property and then call Start without arguments?

Kreso

Re: PORT issue

by Adam West, Tuesday, March 07, 2006, 23:43 (4275 days ago) @ wodSupport

Are you saying that the documentation is incorrect?

Re: PORT issue

by wodSupport, Wednesday, March 08, 2006, 00:01 (4275 days ago) @ Adam West

No, not really. But it's possible that some languages send optional VARIANT argument to something wodSSHServer is unable to determine (he expects int and long values). That's why it's safer to specify it through a property.

Kreso

Re: PORT issue

by Adam West, Wednesday, March 08, 2006, 00:11 (4275 days ago) @ wodSupport

It does work setting the port value.