Is it possible to redirect traffic sent to https://ip to http://ip?Are the PUT, DELETE, HEAD, etc methods available in most web browsers?Are HTTPS URLs encrypted?HTTP GET with request bodyHTTP status code for update and delete?How to use java.net.URLConnection to fire and handle HTTP requestsCustom HTTP headers : naming conventionssimple HTTP server in Java using only Java SE APIEnabling HTTPS on express.jsHAProxy redirecting http to https (ssl)How are parameters sent in an HTTP POST request?

Does Hubble need to dump momentum of its reaction wheels?

Finding closed forms for various addition laws on elliptic curves, FullSimplify fails even with assumptions?

C-152 carb heat on before landing in hot weather?

Why do some games show lights shine through walls?

Correct spacing in the alignat*-environment

How can Charles Proxy change settings without admin rights after first time?

Pull-up sequence accumulator counter

Should I include salary information on my CV?

Syntax Error with 'if'

Does ultrasonic bath cleaning damage laboratory volumetric glassware calibration?

Are there any vegetarian astronauts?

Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?

Can a US president have someone sent to prison?

Why is C++ initial allocation so much larger than C's?

Why does the A-4 Skyhawk sit nose-up when on ground?

In the Marvel universe, can a human have a baby with any non-human?

Should I hide continue button until tasks are completed?

Does squid ink pasta bleed?

Layout of complex table

Does the UK have a written constitution?

Declining an offer to present a poster instead of a paper

Bash echo $-1 prints hb1. Why?

Does the Paladin's Aura of Protection affect only either her or ONE ally in range?

Going to get married soon, should I do it on Dec 31 or Jan 1?



Is it possible to redirect traffic sent to https://ip to http://ip?


Are the PUT, DELETE, HEAD, etc methods available in most web browsers?Are HTTPS URLs encrypted?HTTP GET with request bodyHTTP status code for update and delete?How to use java.net.URLConnection to fire and handle HTTP requestsCustom HTTP headers : naming conventionssimple HTTP server in Java using only Java SE APIEnabling HTTPS on express.jsHAProxy redirecting http to https (ssl)How are parameters sent in an HTTP POST request?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I've seen a lot of solution for redirecting a webserver, but I have a Ubuntu server that is running an application, not over a url. I'd like to redirect requests from https://ip to http://ip, without setting up a domain for this server.



I want the response from http://ip to be returned when https://ip is queried.



I've tried using iptables to redirect traffic from port 443 to 80, but this did not work as requests to https://ip could not get a response.



I also tried using firewall-cmd to allow traffic on port 443, but this did not work either.



Any help on this issue would be greatly appreciated!










share|improve this question




























    0















    I've seen a lot of solution for redirecting a webserver, but I have a Ubuntu server that is running an application, not over a url. I'd like to redirect requests from https://ip to http://ip, without setting up a domain for this server.



    I want the response from http://ip to be returned when https://ip is queried.



    I've tried using iptables to redirect traffic from port 443 to 80, but this did not work as requests to https://ip could not get a response.



    I also tried using firewall-cmd to allow traffic on port 443, but this did not work either.



    Any help on this issue would be greatly appreciated!










    share|improve this question
























      0












      0








      0








      I've seen a lot of solution for redirecting a webserver, but I have a Ubuntu server that is running an application, not over a url. I'd like to redirect requests from https://ip to http://ip, without setting up a domain for this server.



      I want the response from http://ip to be returned when https://ip is queried.



      I've tried using iptables to redirect traffic from port 443 to 80, but this did not work as requests to https://ip could not get a response.



      I also tried using firewall-cmd to allow traffic on port 443, but this did not work either.



      Any help on this issue would be greatly appreciated!










      share|improve this question














      I've seen a lot of solution for redirecting a webserver, but I have a Ubuntu server that is running an application, not over a url. I'd like to redirect requests from https://ip to http://ip, without setting up a domain for this server.



      I want the response from http://ip to be returned when https://ip is queried.



      I've tried using iptables to redirect traffic from port 443 to 80, but this did not work as requests to https://ip could not get a response.



      I also tried using firewall-cmd to allow traffic on port 443, but this did not work either.



      Any help on this issue would be greatly appreciated!







      http ubuntu https server ubuntu-16.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 11:16









      fuzzifuzzi

      3341 gold badge11 silver badges37 bronze badges




      3341 gold badge11 silver badges37 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          By changing the port from 443 to 80, traffic doesn't magically change from HTTP to HTTPS. You can see the port number as a house number and the protocol as a secret knock to get in.



          You need to have a service running (who knows the secret knock) on port (house number) 80, which understands the HTTPS protocol (the secret knock).






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336578%2fis-it-possible-to-redirect-traffic-sent-to-https-ip-to-http-ip%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            By changing the port from 443 to 80, traffic doesn't magically change from HTTP to HTTPS. You can see the port number as a house number and the protocol as a secret knock to get in.



            You need to have a service running (who knows the secret knock) on port (house number) 80, which understands the HTTPS protocol (the secret knock).






            share|improve this answer



























              0














              By changing the port from 443 to 80, traffic doesn't magically change from HTTP to HTTPS. You can see the port number as a house number and the protocol as a secret knock to get in.



              You need to have a service running (who knows the secret knock) on port (house number) 80, which understands the HTTPS protocol (the secret knock).






              share|improve this answer

























                0












                0








                0







                By changing the port from 443 to 80, traffic doesn't magically change from HTTP to HTTPS. You can see the port number as a house number and the protocol as a secret knock to get in.



                You need to have a service running (who knows the secret knock) on port (house number) 80, which understands the HTTPS protocol (the secret knock).






                share|improve this answer













                By changing the port from 443 to 80, traffic doesn't magically change from HTTP to HTTPS. You can see the port number as a house number and the protocol as a secret knock to get in.



                You need to have a service running (who knows the secret knock) on port (house number) 80, which understands the HTTPS protocol (the secret knock).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 25 at 12:02









                pointerdkpointerdk

                63 bronze badges




                63 bronze badges



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336578%2fis-it-possible-to-redirect-traffic-sent-to-https-ip-to-http-ip%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현