Open yurenlimbu opened 4 years ago
I think if you want it to go without the port number, change the option's port number to 80
@pipja Thanks for your reply. I tried as your suggestion but not working.
in settings file:
module.exports = {
"ui": {
"port": 3001
},
"files": false,
"watchEvents": [
"change"
],
"watch": false,
"ignore": [],
"single": false,
"watchOptions": {
"ignoreInitial": true
},
"server": true,
"proxy": false,
"port": 80,
"https": true,
"middleware": false,
. . .
}
command line:
browser-sync start --config bs-config.js
I can see that the server is started at port 81 instead of 80, but I also have IIS using port 80 so it might be a setup problem on my end...
How to setup BrowserSync with Virtual Host?
Here is my setup gulp file:
In terminal
Opening URL:
http://dev.example.loc:3002/
I want to load without a port number. Like http://dev.example.loc