how does socket.io client find /socket.io/socket.io.js [duplicate]Where is the Socket.IO client-side .js file located?How to decide when to use Node.js?How to exit in Node.jsFind the version of an installed npm packageWhere is the Socket.IO client-side .js file located?Node.js Socket.IO client 'unhandled socket.io url'socket.io/socket.io.js - not found. Node.js, express.js and socket.io appsocket.io.js path in nodejs with localhost in windowsHow to use socket.io browserify?Cannot GET /socket.io/socket.io.jswhere is socket.io/socket.io.js location?

Solving Equations with HeavisideTheta Functions

Auto replacement of characters

Is it possible to obtain the address of the this pointer?

Story about two rival crews terraforming a planet

Why is quantum gravity non-renormalizable?

Who pays for increased security measures on flights to the US?

Go function to test whether a file exists

When should we use dependency injection (C#)

What is the difference between a historical drama and a period drama?

Turing Machines: What is the difference between recognizing, deciding, total, accepting, rejecting?

How can I get a file's size with C++17?

Has there ever been a cold war other than between the U.S. and the U.S.S.R.?

what is the meaning of "stock" dilution on the Massive Dev Chart Website?

Birthday girl's casino game

C++20 with u8, char8_t and std::string?

My mother co-signed for my car. Can she take it away from me if I am the one making car payments?

Need SQL Server VLAN advice.. is it best practice to have all SQL Servers under 1 VLAN/network zone?

Can you use a reaction to affect initiative rolls?

What does "another" mean in this case?

Does the North Korea Kim Jong Un have an heir?

Why did my leaking pool light trip the circuit breaker, but not the GFCI?

Are the plates of a battery really charged?

Does this circuit have marginal voltage level problem?

How long had Bertha Mason been in the attic at the point of the events in Jane Eyre



how does socket.io client find /socket.io/socket.io.js [duplicate]


Where is the Socket.IO client-side .js file located?How to decide when to use Node.js?How to exit in Node.jsFind the version of an installed npm packageWhere is the Socket.IO client-side .js file located?Node.js Socket.IO client 'unhandled socket.io url'socket.io/socket.io.js - not found. Node.js, express.js and socket.io appsocket.io.js path in nodejs with localhost in windowsHow to use socket.io browserify?Cannot GET /socket.io/socket.io.jswhere is socket.io/socket.io.js location?






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








0
















This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



<script src="/socket.io/socket.io.js"></script>


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?










share|improve this question















marked as duplicate by OrangeDog, Community May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42

















0
















This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



<script src="/socket.io/socket.io.js"></script>


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?










share|improve this question















marked as duplicate by OrangeDog, Community May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42













0












0








0









This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



<script src="/socket.io/socket.io.js"></script>


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?










share|improve this question

















This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



<script src="/socket.io/socket.io.js"></script>


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?





This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers







node.js socket.io






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 12:26









OrangeDog

22.5k7 gold badges69 silver badges147 bronze badges




22.5k7 gold badges69 silver badges147 bronze badges










asked Mar 25 at 17:38









techdogtechdog

5051 gold badge9 silver badges24 bronze badges




5051 gold badge9 silver badges24 bronze badges




marked as duplicate by OrangeDog, Community May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by OrangeDog, Community May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42

















  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42
















I feel your question is a little bit off topic. How to ask

– N8888
Mar 25 at 17:42





I feel your question is a little bit off topic. How to ask

– N8888
Mar 25 at 17:42












1 Answer
1






active

oldest

votes


















3














It's automatically served by your http server with



var app = require('http').createServer(handler)
var io = require('socket.io')(app);


Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






share|improve this answer




























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    It's automatically served by your http server with



    var app = require('http').createServer(handler)
    var io = require('socket.io')(app);


    Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






    share|improve this answer





























      3














      It's automatically served by your http server with



      var app = require('http').createServer(handler)
      var io = require('socket.io')(app);


      Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






      share|improve this answer



























        3












        3








        3







        It's automatically served by your http server with



        var app = require('http').createServer(handler)
        var io = require('socket.io')(app);


        Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






        share|improve this answer















        It's automatically served by your http server with



        var app = require('http').createServer(handler)
        var io = require('socket.io')(app);


        Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 2 at 13:18









        OrangeDog

        22.5k7 gold badges69 silver badges147 bronze badges




        22.5k7 gold badges69 silver badges147 bronze badges










        answered Mar 25 at 19:33









        Jules GoulleeJules Goullee

        4793 silver badges11 bronze badges




        4793 silver badges11 bronze badges


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.





            Popular posts from this blog

            Obelisk of Theodosius Contents History Description Notes Bibliography Further reading External links Navigation menuAge of spirituality : late antique and early Christian art, third to seventh centuryOver 60 picturesObelisks of the World41°00′21.24″N 28°58′31.43″E / 41.0059000°N 28.9753972°E / 41.0059000; 28.97539727724550-7235741376235741376

            밀양 대씨 역사 각주 함께 보기 둘러보기 메뉴밀양 대씨

            1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴