First big hangup was the way I typically work. I have a laptop which is my main “terminal” and I have an old Dell r620 PowerEdge server which is my development server. They’re both on the same network but both have different IP addresses. When I kick off the ‘npx wrangler login’ I wasn’t able to login correctly. The OAuth link that I’m directed to opens in my laptop and once logged in the Cloudflare site redirects me to localhost:XXXX or some other port that I forogot and didn’t write down. Anyhow… if I change from localhost to the IP address of the server I am still not able to login. What I had to do (bind didn’t work) was PHYSICALLY walk over to the server and login using the desktop and login that way. Once logged in npx wrangler whoami came up with all my info and showed the couple of accounts I have access to. Great…
Next problem… After downloading the HELLO WORLD test project and doing ‘npm start’ to kick off the mini server I’m again prompted to go to http://localhost:8787. Changing the IP address on this link again doesn’t work. However, there is a simple fix on this. Open the ‘package.json’ file and locate linkes that say dev & start. Then add –ip 0.0.0.0 to the end of both lines. This tell the mini server not to bind just to the local host and to allow IP anywhere to connect to it. Anyone on my network can now see the hello world sample worker. Yeah..