what would I do?
Where did you host your server? If it's any cloud provider then you'll have to change network access control lists and add the port and ip address you want to allow. In AWS it's called security group. The name might change based on your cloud provider.
I have a VPS (ubuntu server) to serve my application
which company you use for the VPS? Digital Ocean? Vultr? Linode?
I bought it from an Iranian company
ask your company if they open all ports or only open port 80 and 443 for the VPS
OK I will ask. but I opened the port 5000 and 8585 manually.
Check if your vps provider allows managing network access controls. If there isnt any control there, then you'll need to use ufw to whitelist port and ip address
Обсуждают сегодня