WPLMS support kindly fix the problem for em. The reason is I removed the Name field in the user profile from Buddypress Register. Buddypress need the Name field to generate link to profile.
The url there is the server where the website sits.
The same thing happens when I start from 192.241.173.232/wordpress and click signup to go to register page or go directly to 192.241.173.232/wordpress/register. It just return 302 and redirect. Any hint on where to start debugging? Which function/directory/.php file should I look into at this point? (I do know how to locate the function that handles the submit action.)
This is what I put in the general settings for both Site Url and WordPress URL