title: Websocket - Error during WebSocket handshake: Unexpected response code: 404
body: <p>I am using websocket in my app and everything worked fine when i was using localhost. The problem starts when i changed localhost to my server ip address then i got this error:
  <strong>Error during WebSocket handshake: Unexpected response code: 404</strong></p>
  
  <p>This is my httpd.conf</p>
  
  <pre><code>...
  
  Listen 25.48.63.220:80
  Listen 25.48.63.220:8081
  
  ...
  
  ServerName 25.48.63.220:80
  
  ...
  </code></pre>
  
  <p>I think that i am able to connect with my server because when i typed wrong ip address i don't  get this error.</p>
  
  <p>What else i have to to change ?</p>