title: How to use php fopen() with a non-standard port?
body: <p>I need my website to be able to use fopen() to access files on my file streaming server, which our admin has configured to use port 8000. But it errors out and I believe it's because of the port number. <strong>I have allow_url_fopen enabled in php.ini</strong> too, so I don't think that's the issue.</p>
  
  <pre><code>Warning: fopen(http://129.237.213.244:8000/mp3/First_8864.mp3) [function.fopen]: 
  failed to open stream: Connection refused in _npp_get_mp3() (line 23 of 
  /home2/ab83417/public_html/drupal/sites/all/modules/npr_player_pack/npp_library.php).
  </code></pre>
  
  <p>So my question is: Can I somehow tell the webserver or our stream server (icecast, btw) to stop being so picky, or should I use some other php function like curl?</p>