Couldn't bind Server Side Swift Perfect app to Port 80

408 Views Asked by At

I have launched my AWS ec2 instance and set up my Perfect Server side swift Project in remote machine- (Ubuntu 16.04). It's is working perfectly fine on developer ports, I mean other than port 80. Here's what happened when I tried to run app at port 80,

Command(in my remote machine via ssh) -

swift build
.build/debug/MyApp

Output -

Fatal error: Error raised at top level: PerfectNet.PerfectNetError.networkError(13,
"Permission denied /home/ubuntu/Projects/Demo/.build/checkouts/Perfect-Net.git
-7514255504801937342/Sources/PerfectNet/Net.swift bind(port:address:) 273"):
file /home/buildnode/jenkins/workspace/oss-swift-4.1-package-linux-ubuntu-16_04/
swift/stdlib/public/core/ErrorType.swift

Illegal instruction(Core Dumped)

0

There are 0 best solutions below