<commit_before>express=require('express'),app=express();
http=require('http'),server=http.createServer(app);
socketio=require('socket.io'),io=socketio(server);
morgan=require('morgan');

app.use(morgan('combined'));
app.use(express.static('public'));

/* websocket handlers */

io.on('connection',function(socket)
{
	socket.on('chatmsg',function(msg)
	{
		io.emit('chatmsg',msg);
	});
});

server.listen(3000);
<commit_msg>only listen on localhost<commit_after>express=require('express'),app=express();
http=require('http'),server=http.createServer(app);
socketio=require('socket.io'),io=socketio(server);
morgan=require('morgan');

app.use(morgan('combined'));
app.use(express.static('public'));

/* websocket handlers */

io.on('connection',function(socket)
{
	socket.on('chatmsg',function(msg)
	{
		io.emit('chatmsg',msg);
	});
});

server.listen(3000,'localhost');

{'fraction_non_alphanumeric': 0.22209436133486765, 'fraction_numerical': 0.009205983889528193, 'mean_word_length': 9.875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6280392', 'n_tokens_mistral': 307, 'n_tokens_neox': 295, 'n_words': 27}