change rdesktop port

Dear all,
I would like rdesktop to listen to port 5909 and thus I changed

/etc/xrdp/xrdp.ini to look like



[globals]
bitmap_cache=yes
bitmap_compression=yes
port=5909
crypt_level=low
channel_code=1

[xsessions]
path=/usr/share/xsessions
lib=libdmx.so
username=ask
password=ask
ip=127.0.0.1
port=5909

[failsafe]
name=Failsafe Terminal
exec=xterm
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=5909

afterwards
I do

rcxrdp restart
Shutting down xrdp                                                                                                               done
Starting xrdp         

but when I try to do:

rdesktop myhostname:5909
Autoselected keyboard map en-us
ERROR: connect: Connection refused

What might be the problem?
Before changing port numbers was working fine.

Best Regards
Alex

Firewall? …

On Mon May 23 2011 01:06 pm, hcvv wrote:

>
> Firewall? …
>
>
alaios;

Open port 5909 on your firewall. To do this use: YaST>Security and
Users>Firewall>Allowed Services>Advanced, here you can open port 5909.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

firewall is not running at all :frowning:
and when I do nmap -v hostname
I can not see the service running!

netstat -ltp

will show you what TCP ports which programs are listening to (on the server of course).