Express Js doubt

How do we change the port number when we are using our own schema

Port has nothing to do with the schema.
Your port no is defined where you listen to your application you can simply use:

App.listen(3000,()=>{
Console.log(“port 3000 connected”);
})