Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Internet connection 4g modem

by mic537 (Novice)
on Nov 21, 2016 at 16:51 UTC ( [id://1176261]=note: print w/replies, xml ) Need Help??


in reply to Re: Internet connection 4g modem
in thread Internet connection 4g modem

I try to install module through cpan - and receive: module LWP failed with code500 And also I try with my program ( pl converted to exe) which worked well on Ethernet, and through modem it failed on lines: my $sock = new LWP::Socket();  die "Can't bind a socket" unless $sock->bind('127.0.0.1', '8080');

impossible to open socket when modem is found on PC.

Replies are listed 'Best First'.
Re^3: Internet connection 4g modem
by choroba (Cardinal) on Nov 21, 2016 at 17:17 UTC
    Do you really use 127.0.0.1? If so, the modem isn't involved, as 127.0.0.1 is localhost . Are you sure the webserver is running on port 8080?

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Yes, It works OK with Ethernet. localhost:8080/site.html works OK after webserver is launched. But when I connect 3g modem with dedicated program for it ( with Ethernet off), it fails to make socket and LWP too. Internet through modem works OK. BUT! When I had ActivePerl it successfully connected to Internet by those modem and I easily installed modules through ppm and cpan. And I launched this webserver and it works on localhost! What is the difference between ActivePerl and Strawberry in that case?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found