icamti
icamti

Reputation: 115

Google load balancer redirect IP address to specific port?

I'm using google compute engine, and have set up a load balancer over an instance group. I have also reserved an ip address. Everything works just fine, if I access the specific port (8080), but if I just try to access the ip-address I get a '404 error'. I have also added a domain and have the same problem. domain.com:8080 works but just domain.com gives a '404 error'.

Is the same host and path as this (host: *, path: /*) guy enough? Or is there more configuration to be done. I can't seem to find this information in the docs.

Upvotes: 0

Views: 366

Answers (1)

Gal Ben-Haim
Gal Ben-Haim

Reputation: 17803

setup the load balancer frontend to listen to port 80 instead of 8080 and/or 443 for HTTPS (requires SSL certificate...)

Upvotes: 1

Related Questions