Here is the doc about provider in ethers 5.x document:
new ethers.providers.JsonRpcProvider( [ urlOrConnectionInfo [ , networkish ] ] )
Connect to a JSON-RPC HTTP API using the URL or ConnectionInfo urlOrConnectionInfo connected to the networkish network.
If urlOrConnectionInfo is not specified, the default (i.e. http://localhost:8545) is used and if no network is specified, it will be determined automatically by querying the node using eth_chaindId and falling back on eth_networkId.
What is the networkish for urlOrConnectionInfo below?
let connectionInfo = {
url: 'http://my-ip:80',
headers: {
"Bearer": "eyJhbGciOiJSUzI1NiIsInR5cCI6...." //<<==RS256 JWT token
},
};