Comments (5)
您好,这个问题已经修复了,Zeabur 现在会自动根据 Dockerfile 内 EXPOSE
的端口自动向外映射。
如果您还有任何问题,请直接重新开启这个 issue 或到我们的 Discord 交流群 获得更加即时的技术支持,谢谢。
from zeabur.
您需要将程序监听在 环境变量 PORT
的端口上,才能正确暴露您的服务。
例如,如果您的服务是用 Node.js 开发的,则下列写法是错误的:
app.listen(8090)
您必须这样写才能正确暴露服务:
app.listen(process.env.PORT)
from zeabur.
至于支付返回页面 404 的问题,是我们支付服务提供商的 bug ,即将要替换服务商,就能解决这个问题了
from zeabur.
您需要将程序监听在 环境变量
PORT
的端口上,才能正确暴露您的服务。例如,如果您的服务是用 Node.js 开发的,则下列写法是错误的:
app.listen(8090)
您必须这样写才能正确暴露服务:
app.listen(process.env.PORT)
我是使用Dockerfile部署的,Dockerfile
其中expose 8090 指定了暴露端口。
目前访问域名是502错误,我无法得到更多日志无法排查问题.
from zeabur.
您好,这个问题已经修复了,Zeabur 现在会自动根据 Dockerfile 内
EXPOSE
的端口自动向外映射。如果您还有任何问题,请直接重新开启这个 issue 或到我们的 Discord 交流群 获得更加即时的技术支持,谢谢。
你好,请问这个自动向外映射支持多个端口吗,我部署之后,容器启动正常,但是无法访问
部署ID : 64cf6b93c640bb43db7d8551
from zeabur.
Related Issues (20)
- Feedback for “Multi Environment” HOT 1
- It includes a US$ 5 free credit per month? HOT 1
- 一些小疑问 HOT 1
- 部署node项目报错 HOT 1
- Deploying serverless projects with go HOT 1
- Feedback for “方案” HOT 1
- My service is duplicated in Billing HOT 4
- 突然之间空白了 账号 [email protected] HOT 1
- Missing public domain when exposing TCP service only. HOT 1
- Actual 可否支持一下 ? HOT 2
- Feedback for “方案” HOT 1
- report a typo in “Guides / Node.js” HOT 1
- Is there anyway to download container logs ? HOT 1
- Feedback for “Domain Binding” HOT 1
- Front-end and back-end are the same repo HOT 2
- Cannot create 2 Redis in a project HOT 3
- linkwarden 可否支持下 ? HOT 7
- Failed to load module script: Expected a JavaScript module script but the index-ewOogIP5.ig:1 server responded with a MIhE type of "text/html". Strict MIlE type checking is enforced for module scripts per HT spec. HOT 1
- Add Directus support
- vitepress icon 404 not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeabur.