Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SQLANYs_sem5\Parameters
on the right, open the parameters key. you will see the port number used by your Embedded DB
What port number do you see,?
it will be something like \db\sem5.db" -n sem5 -sb 0 -x tcpip(localonly=yes;port=2638
You need to use that port number during configuration..