Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

120
Visualizações
deploy app on appengine on port 8761

I'm deploying a Java app that runs on port 8761, and works fine on localhost.
Although when I push to App Engine flexible environment, I get a HTTP 502 server error.

Here is my app.yaml:

runtime: java
env: flex

service: eureka

runtime_config:
  jdk: openjdk8

handlers:
- url: /.*
  script: ignore
  secure: always

manual_scaling:
  instances: 1

resources:
  cpu: 1
  memory_gb: 2

The log from gcloud is fine, server is running, but my request doesn't seems to hit the app at all.

I noticed that if I run on port 8080, it works. For now, it is not a problem change the default port to 8080, but I would like to understand why I'm not able to run it on 8761

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I think you need to use the network settings section in the app.yaml config file:

network:
  forwarded_ports:
    - 8761/tcp

You might also need to set firewall rules in the Cloud Platform Console.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda