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

            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

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해