简体   繁体   中英

HerokuApp Node.js express get TCP

Using Node.js express, I have a herokuapp that will app.get, app.post and app.all all response received.

Basically, I have a device that I can send SMS to and device will send TCP to a DNS but I'm not seeing any response in console.log.

Can someone please offer a solution or help?

Thank you in advance!

Only valid HTTP requests will route properly to your app running on Heroku. You do have the option of using the HTTP/1.1 upgrade header to upgrade your connection from HTTP to TCP: https://devcenter.heroku.com/articles/http-routing#protocol-upgrades

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM