Hi Priyan,
It's bit strange still port 3299 is in use after following above recommendations especially by @
please don't run saprouter as "root". Create a dedicated user with the appropriate permissions for this.
Please check your /etc/services file
Addition to above could you please share your host file as i've some doubts related with the last sanp shot which you shared.
If possible try to check or maintain host entries as similar & restart the system once more to test again.
127.0.0.1 localhost.localdomain localhost
<IP of server> <Host Name>
Regards,
Gaurav
