Environment Details:
ASP.net Core 2.2 web application
IIS-7 (Deployment)
Error Details:
Getting 403 (Forbidden) while deploy application in IIS other then the 80 port (8080 , 8081).
when deploy in port 80 API's are working fine. Same code & environment if i change the port other the 80 is not working.
Related
My requirement is to hit external HTTPS REST API from application server.i don`t have internet access in application server(JBOSS). so,i forwarded my request to web server(Apache24) and from web server i am calling HTTPS REST API services.
Public Rest URL-: https://publicdomain.com/tracking_number
I made below configuration on Apache server.
ProxyPass /tracking_number https://publicdomain.com/tracking_number
ProxyPassReverse /tracking_number https://publicdomain.com/tracking_number
With above configuration,following URL from application server https://WEBSERVER_IP:PORT/tracking_number, responding 503 proxy error.
Because in web server, internet can be access only through proxy server.
(For example, In IE browsers,if i configure proxy ip and host in LAN settings mean, URL is accessible from browser).
So, i need to configure similar configuration in Apache also. I tried with some configurations with help of http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyremote. But nothing worked out.
How to configure proxy server(host and ip) for external HTTPS request in Apache.
Apache Version -: 2.4.29
Operating System -: Windows
I have build a asp.net core web project on a Ubuntu EC2 instance of Amazon. Using Systemd and apache2 i ran he application and i was able to access the website on HTTP(port 80) but when i tried to access it on HTTPS it opened the default apache2 page. my question is how to set or what setting have i got wrong in my kestrel service since dotnet is not listening on https port of asp.net?
Within the kestrel service i tried to set the environment variable to listen to https port of aspnet (port 5001), but after changing this dotnet stopped listening to http(port 5000) as well. I don't know if i am heading in the right direction since this is my first time trying this is there any solution you thing might work?
i know i can redirect HTTPS request to HTTP and work that but i have another application which doesn't work using this method. I have to run my .net core project on https.
My kestrel file after i tried to listen to https
[Unit]
Description=Example ASP .NET Web Application running on Ubuntu 16.04
[Service]
WorkingDirectory=/var/scms
ExecStart=/usr/bin/dotnet /var/scms/scms.dll
Restart=always
RestartSec=10
SyslogIdentifier=dotnet-demo
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=ASPNETCORE_HTTP_PORT=5000
Environment=ASPNETCORE_HTTPS_PORT=5001
Environment=ASPNETCORE_URLS=http://localhost:5000;https://localhost:5001
[Install]
WantedBy=multi-user.target
My application deployed on apache2 in Ubuntu and I am routing it through nginx with domain name it shows me websocket error handshake error 503 service unavailable error it could worked or not?
I have app running on port - 3000 and running with caddy reverse proxy at port 80 and 443.
It works fine, but as soon as I switch to cloudflare, the site gets down and shows error 502 bad gateway
I just got this solved by installing tls.dns.cloudflare plugin.
I have successfully implemented the two different jboss 5 instaces with Apache HTTP Server and can access the application through the HTTP server (i.e. http://localhost:8089) where my http server is listening on port 8089 This was the smooth case. But when talking about HTTP Secured layer have enabled the Apache HTTP SSL by following the steps provided on this page and on default secure port (i.e. 443) now i can access the HTTP Server from secure layer by url: https://localhost/. But when i hit my jboss application, I ended up with following error in browser:
Not Found
The requested URL /myApp was not found on this server.
can anyone let me know how to deal with this?
Thanks