Port number for RDP sessions

avatar

Is it possible to use a different portnumber for an RDP connection ? I tried using the ip-adress followed by :portnumber but that gives me an error.

All Comments (15)

avatar

Hi,
You did the right thing, it's fail only for the embedded mode, this will be fixed in the next release, expected for tomorrow.

David Hervieux
Devolutions inc.

David Hervieux

avatar

Oke, thanks for the quick reply. I've tried it without embedded mode and then it works fine. I will be looking forward to the next release.

avatar

The version 5.0.2.0 is now released with the fix

link

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi.

I am trying to set a non-standard port for the RDP-sessions but the port information is ignored by RDM and it is connecting on the standard port. I was trying to use the ip-adress followed by :<port number> (for example "10.0.0.10:3388") but it will not work. I am using version 5.8.1.0 of RDM on Windows XP Sp3 with RDP version 6.0.6001.18000. What is wrong?

Regards.

avatar

Hi,
You did the right thing, can you try it in embedded and in external mode and see which one work or not ?

David Hervieux

avatar

Hi.

I have tested both modes without any success.

Regards

avatar

It's weird, when you use the external mode, RDM call directly the client, can you export it to a .rdm file (change your server name or ip) and post it here ?

David Hervieux

avatar

Hi again.

I have now exported the test session to a .rdm file and the content is presented below. I have noticed that the information about the port number is not stored. If I enter the port number in the edit session dialog, click on OK, and open the edit session dialog again then the port number information is removed.

<?xml version="1.0"?>
<ArrayOfConnection>
<Connection>
<ConnectionType>RDPConfigured</ConnectionType>
<CreatedBy>WIN-XP-PRO-01\Test User</CreatedBy>
<CreationDateTime>2010-07-13T16:09:11.6472941+02:00</CreationDateTime>
<Events />
<Group>Site\Domain\System</Group>
<Host>10.0.0.10</Host>
<ID>144809aa-7009-47a5-b069-9cd13dab1333</ID>
<MetaInformation />
<Name>Service</Name>
<RDP>
<UserName>Test User</UserName>
</RDP>
<UpdateDateTime>2010-07-13T16:06:33.6801485+02:00</UpdateDateTime>
<UpdatedBy>WIN-XP-PRO-01\Admin</UpdatedBy>
<Url>10.0.0.10</Url>
<UserName>Test User</UserName>
</Connection>
</ArrayOfConnection>

Regards.

avatar

Hi,
I unable to reproduce this behavior, when I edit the computer and I add the port, it work for me. I also tried to import and modify your, it also work.

Can you try to edit the xml and add the port to the url and change the name. Import it again to see if it's loaded. Can you send me a printscreen of the session property when you enter the port?

David Hervieux

avatar

Hi.

Sorry, if I have had you do some work in vain. I did now install RDM on another similar machine and there it works so it must be something wrong in my first machine. I wonder what we have done on that machine. I have to recall that. I installed RDM yesterday on the first machine and then I and some colleagues tested with that installation quite a lot. We did not do any connections with RDP to any non-standard ports then. But today when I tried that scenario it did not work. I will make a post if I find any differences between the installations.

Regards.

avatar

Hi,
No problem, I glad to help. It seems that the session file is never saved, is it an Access database or an Xml file ?

David Hervieux

avatar

There we have at least one difference. I now looked at the data sources settings in the problematic installation and it has been configured to use an XML file. In the working installation there the data source is an Access database.

avatar

Can you verify if the xml file is readonly ?

David Hervieux

avatar

No, the XML file is not read-only. I have now also tested with changing to an XML file in the other installation and the result is the same as in the first installation. The port information is for some reason lost. When I created a new session and entered all the correct information directly the port information is being stored in the XML-tag <Url> but not in the XML-tag <Host>.

avatar

It's normal that it does not appear in the host, it's used to ping or some other operation that does not require a port number

David Hervieux