-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
In
php-java-bridge/src/main/java/io/soluble/pjb/servlet/fastcgi/FastCGIServlet.java
Line 201 in 146592a
| int port = ServletUtil.getLocalPort(req); |
| port = req.getLocalPort(); |
If for example you are natting your more router so that the external port is 80, but you run your service on a tomcat on port 8080, SERVER_PORT should be set 80, not 8080. To do so, FastCGI should pic the server port (req.getServerPort()) and may be fall back on req.getLocalPort(), not the other way around.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels