For those who are still wondering why the application receives SMS data sent to other ports, and not just to port 8091. The problem is in the manifest code. I have seen many solutions that have been published, and most of them are actually erroneous.
The manifest should be:
<receiver
android:name = ".SmsReceiver">
<intent-filter>
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
<data
android:scheme="sms"
android:host="*"
android:port="8095" />
</intent-filter>
</receiver>
, "" , .
, " " ,
" URI, , ".
, , , SMS .
"host" * (), , SMS /
, - (: