Expressjs cannot access the port

In an attempt to learn replit I made a super trivial expressjs app and set port 3000 to listen for requests. However unlike working on a local machine I cannot change the url in replit webview in order to add colon 3000 to the domain address. Most of the expressjs tutorial skip exactly that part. can someone help explaining how to set the port in the address bar?

Hi @shtepa thanks for your question and welcome to the community.

You cannot change the URL bar in the webview as shown below. You have to click on the open in new tab button first. Then you will be able to change the port number.